rtlwifi: rtl88188ee: Replace local bit manipulation macros
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 31 Jul 2019 00:33:01 +0000 (19:33 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:41:38 +0000 (15:41 +0300)
commit66b2b064ee54fea02a68589b0513a2586c7a482b
treea75caef01a3b6809b8026df5eeaa7406466f0c99
parentb97494f48d5a0cf0b5a8bfec861c7311db987ad2
rtlwifi: rtl88188ee: 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/rtl8188ee/trx.h