OSDN Git Service

staging: rtl8712: Add spaces around '|'
authorArushi Singhal <arushisinghal19971997@gmail.com>
Sat, 3 Mar 2018 05:32:35 +0000 (11:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:03:44 +0000 (04:03 -0800)
Add spaces around '|' to conform to the Linux
kernel coding style. Issue found using checkpatch.
CHECK: spaces preferred around that '|'.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl8712_cmdctrl_bitdef.h
drivers/staging/rtl8712/rtl8712_gp_bitdef.h

index b7dda90..4b8985d 100644 (file)
@@ -63,7 +63,7 @@
 #define _IMEM_CHK_RPT                  BIT(1)
 #define _IMEM_CODE_DONE                        BIT(0)
 
-#define        _TXDMA_INIT_VALUE       (_IMEM_CHK_RPT|_EMEM_CHK_RPT)
+#define        _TXDMA_INIT_VALUE       (_IMEM_CHK_RPT | _EMEM_CHK_RPT)
 
 /*RCR*/
 #define        _ENMBID                         BIT(27)
index 44c9060..66c35c9 100644 (file)
@@ -70,7 +70,7 @@
 #define                GPIOSEL_PHYDBG  1       /* PHYDBG*/
 #define                GPIOSEL_BT      2       /* BT_coex*/
 #define                GPIOSEL_WLANDBG 3       /* WLANDBG*/
-#define                GPIOSEL_GPIO_MASK       (~(BIT(0)|BIT(1)))
+#define                GPIOSEL_GPIO_MASK       (~(BIT(0) | BIT(1)))
 /* HW Radio OFF switch (GPIO BIT) */
 #define                HAL_8192S_HW_GPIO_OFF_BIT       BIT(3)
 #define                HAL_8192S_HW_GPIO_OFF_MASK      0xF7