From: Hari Prasath Gujulan Elango Date: Thu, 9 Jul 2015 06:05:09 +0000 (+0000) Subject: staging: xgifb: prefer using the BIT macro X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d5a3a945fdf2584f3191e8cc958234057ef691da;p=openwrt%2Fstaging%2Fblogic.git staging: xgifb: prefer using the BIT macro This patch uses 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/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 943d463cf193..5bfe151ea328 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -18,8 +18,8 @@ #define Index_CR_GPIO_Reg1 0x48 #define Index_CR_GPIO_Reg3 0x4a -#define GPIOG_EN (1<<6) -#define GPIOG_READ (1<<1) +#define GPIOG_EN BIT(6) +#define GPIOG_READ BIT(1) static char *forcecrt2type; static char *mode;