]> git.baikalelectronics.ru Git - kernel.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)
commit62681af6ee963312d5621fbdd6bf853c0fdd13c2
treeb4875c64fa8388f5c2d3679ca9358661fcfe069c
parent4d7b58ae5d9696119c478e189ff69a7d3a2868b2
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