rtlwifi: rtl8192de: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 25 Nov 2019 18:32:28 +0000 (12:32 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 18:21:38 +0000 (20:21 +0200)
commitfa2b36a344f50ef6792315173567d9ce16832295
treeec0a4b7a10c2836d9d4581b8209cd9205fe0ec1c
parent08f6ef39bc3d40cc946dd3c3bbe50c088c498d9d
rtlwifi: rtl8192de: Convert macros that set descriptor

As a first step in the conversion, the macros that set the RX and TX
descriptors are converted to static inline routines, and the names are
changed from upper to lower case. To minimize the changes in a given
step, the input descriptor information is left as as a byte array
(u8 *), even though it should be a little-endian word array (__le32 *).
That will be changed in the next patch.

Several places where checkpatch.pl complains about a space after a cast
and other warnings are fixed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h