rtlwifi: rtl8192se: Replace local bit manipulation macros
commitc3f997f0c3b2c46776304a482571cdee5f182de2
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 9 Oct 2019 17:37:09 +0000 (9 12:37 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Oct 2019 08:56:53 +0000 (11 11:56 +0300)
treed5491351428d70b5c55c4761038f389b178a7514
parentc2fca7d083f78aad632fb99fd24acb082c58a495
rtlwifi: rtl8192se: Replace local bit manipulation macros

This driver uses a set of local macros to manipulate the RX and TX
descriptors, which are all little-endian quantities. These macros
are replaced by the bitfield macros le32p_replace_bits() and
le32_get_bits(). In several places, the macros operated on an entire
32-bit word. In these cases, a direct read or replacement is used.

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