summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2021-08-10 13:05:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-11 09:41:38 +0200
commitdcda94c9412a079df2e7b6b7e167342349db3a3f (patch)
tree217af43b617884a937e53b2764496fdaaa5678f9 /drivers/staging/r8188eu/include/Hal8188EPhyCfg.h
parent987219ad34a67b6160e6f5247578596a1a887031 (diff)
downloadlinux-dcda94c9412a079df2e7b6b7e167342349db3a3f.tar.bz2
staging: r8188eu: Replace BITn with BIT(n)
The driver uses BITn instead of BIT(n). All such usage is converted. Note that this patch does not address any warnings that checkpatch will find. These include missing space around operators and lines that are too long. These problems will be addressed in a separate patch. Acked-by: Phillip Potter <phil@philpotter.co.uk> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Link: https://lore.kernel.org/r/20210810180511.8986-1-Larry.Finger@lwfinger.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/Hal8188EPhyCfg.h')
-rw-r--r--drivers/staging/r8188eu/include/Hal8188EPhyCfg.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h b/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h
index 63b068fa9f4d..96888d66d28c 100644
--- a/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h
+++ b/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h
@@ -67,13 +67,13 @@ enum rf_radio_path {
enum wireless_mode {
WIRELESS_MODE_UNKNOWN = 0x00,
- WIRELESS_MODE_A = BIT2,
- WIRELESS_MODE_B = BIT0,
- WIRELESS_MODE_G = BIT1,
- WIRELESS_MODE_AUTO = BIT5,
- WIRELESS_MODE_N_24G = BIT3,
- WIRELESS_MODE_N_5G = BIT4,
- WIRELESS_MODE_AC = BIT6
+ WIRELESS_MODE_A = BIT(2),
+ WIRELESS_MODE_B = BIT(0),
+ WIRELESS_MODE_G = BIT(1),
+ WIRELESS_MODE_AUTO = BIT(5),
+ WIRELESS_MODE_N_24G = BIT(3),
+ WIRELESS_MODE_N_5G = BIT(4),
+ WIRELESS_MODE_AC = BIT(6)
};
enum phy_rate_tx_offset_area {