From: Hari Prasath Gujulan Elango Date: Mon, 22 Jun 2015 07:06:01 +0000 (+0000) Subject: staging: wilc1000: use BIT macro X-Git-Tag: v4.9.8~3706^2~768 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d33ff126bd6f4597189af7348aff9721d4b8080;p=platform%2Fkernel%2Flinux-rpi3.git staging: wilc1000: use BIT macro This patch addresses the checkpatch warning advising the usage of the BIT macro for Bit shift operation. Signed-off-by: Hari Prasath Gujulan Elango Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h index 8ed51e3..8735a6a 100644 --- a/drivers/staging/wilc1000/wilc_wlan_if.h +++ b/drivers/staging/wilc1000/wilc_wlan_if.h @@ -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) /********************************************