]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8188ee: Convert inline routines to little-endian words
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 31 Jul 2019 00:33:03 +0000 (19:33 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:41:40 +0000 (15:41 +0300)
commit5c051677b1fc690afb0b76c9dbca4abfdd97ce59
tree10bbe5aceae8df9eff96c45ea9d70cd2e209caaa
parent0f718effe8ca173ea979326b492403c1c2b44d71
rtlwifi: rtl8188ee: 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/rtl8188ee/dm.c
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h