diff options
author | Hari Prasath Gujulan Elango <hgujulan@visteon.com> | 2015-07-09 06:05:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-15 02:55:31 (GMT) |
commit | d5a3a945fdf2584f3191e8cc958234057ef691da (patch) | |
tree | c8505d23b768e3c2814cea6555c9c148db3d5f23 | |
parent | 5eafbb0c529c5765fcfd57cb073982ad1cd06cc7 (diff) | |
download | linux-d5a3a945fdf2584f3191e8cc958234057ef691da.tar.xz |
staging: xgifb: prefer using the BIT macro
This patch uses 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>
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 943d463..5bfe151 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; |