rtlwifi: rtl8821ae: Convert inline routines to little-endian words
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 20 May 2019 17:23:59 +0000 (12:23 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:35:00 +0000 (15:35 +0300)
commitf7fbb03f2169c1a4aae227bc21965b0579e0faf4
tree493567a0ff3b985b921ce614b2c0645d1b25d0c3
parentbd421dab75151eaeea83a5145108bfacd0e1613a
rtlwifi: rtl8821ae: Convert inline routines to little-endian words

In this step, the read/write routines for the descriptors are converted
to use __le32 quantities, thus a lot of casts can be removed. Callback
routines still use the 8-bit arrays, but these are changed within the
specified routine.

The macro that cleared a descriptor has now been converted into an inline
routine.

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