mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 08:03:00 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5eafbb0c52
commit
d5a3a945fd
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user