staging: wilc1000: use BIT macro
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>
Mon, 22 Jun 2015 07:06:01 +0000 (07:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jul 2015 02:26:44 +0000 (19:26 -0700)
This patch addresses the checkpatch warning advising the usage of the
BIT macro for Bit shift operation.

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan_if.h

index 8ed51e3851187d4b206c4e9c321a70de88b3d50d..8735a6a64d89f2f53803eb9753ee17eda59c2e4a 100644 (file)
@@ -43,8 +43,8 @@
  ********************************************/
 
 #define HIF_SDIO           (0)
-#define HIF_SPI            (1 << 0)
-#define HIF_SDIO_GPIO_IRQ  (1 << 2)
+#define HIF_SPI            BIT(0)
+#define HIF_SDIO_GPIO_IRQ  BIT(2)
 
 
 /********************************************
This page took 0.025147 seconds and 5 git commands to generate.