OSDN Git Service

rtlwifi: rtl8192ee: Convert inline routines to little-endian words
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 31 Aug 2019 18:06:43 +0000 (13:06 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:30:47 +0000 (16:30 +0300)
commit200e8bd4df8f740c78c67f8d771e369c5213c54a
treebc20f35c68dd36fdbccda838680f0efc5d6e1ea9
parent7f1c7460e932b1de7a2861bd1026a0f88918218a
rtlwifi: rtl8192ee: 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/rtl8192ee/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h