rtlwifi: rtl8192ee: Replace local bit manipulation macros
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 31 Aug 2019 18:06:41 +0000 (13:06 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:30:45 +0000 (16:30 +0300)
commit11f92ca1475ced7d1995510f566ebbf86bff53d7
treedf977e0ea15110b99cc0c1953591d0536647cb5b
parent8ef113ff0feda78b15ef84548fa0fba830bada49
rtlwifi: rtl8192ee: 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/rtl8192ee/trx.h