]> www.infradead.org Git - users/willy/xarray.git/commit
rtlwifi: rtl8723be: Replace local bit manipulation macros
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 9 Sep 2019 01:59:55 +0000 (20:59 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 14:55:37 +0000 (17:55 +0300)
commit360226fdc53dc3b4018cbc27595af066b57b640e
treeb4875c64fa8388f5c2d3679ca9358661fcfe069c
parent64578a3d3426eb40d99f8aa2fbfb926a3e364c71
rtlwifi: rtl8723be: 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/rtl8723be/trx.h