]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12305e3776f45383f707ad4747318b4dd393c606
treea75caef01a3b6809b8026df5eeaa7406466f0c99
parent73b0484b017135866d6660a223a356ba2e8c2b98
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