staging: r8188eu: Remove some bit manipulation macros
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 3 Aug 2021 13:52:23 +0000 (08:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Aug 2021 10:58:15 +0000 (12:58 +0200)
commita9f392d4518214d1de5aa9457f9778dd1ba578a9
tree5981bcc9b225ef177ad091c3b896551367fe2f2b
parent496fd4e78afd7a1802cde83d6171040bd3924c17
staging: r8188eu: Remove some bit manipulation macros

This driver defines a set of macros that get or set a bitfield in the
RX and TX descriptors. Most of these have been replaced by the appropriate
use of the system macros BIT() or GENMASK().

While reworking these routines, I also fixed camel case variables and
missing spaces. Some comments were also converted to the
drivers/net/wireless preferred format.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20210803135223.12543-11-Larry.Finger@lwfinger.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/Hal8188ERateAdaptive.c
drivers/staging/r8188eu/include/Hal8188ERateAdaptive.h
drivers/staging/r8188eu/include/basic_types.h
drivers/staging/r8188eu/include/odm_types.h
drivers/staging/r8188eu/include/rtl8188e_xmit.h