OSDN Git Service

rtlwifi: rtl8723ae: Convert inline routines to little-endian words
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 9 Sep 2019 01:59:53 +0000 (20:59 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 14:55:35 +0000 (17:55 +0300)
commit773755d9112b2aa5839ae68347cd66e1d3706fcd
treedd4c22b5d691a1d7948bc14b0ba2365fbb77f98b
parenta9db071f7816bf203b84bb49be7c8862f0c251d4
rtlwifi: rtl8723ae: 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/rtl8723ae/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h