staging: rts5208: Use BIT(x) macro
Replaces left shift operation (1 << x) by BIT(x). Issue found by checkpatch. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0328217969
commit
eceef9a3f4
|
@ -266,22 +266,22 @@ struct sense_data_t {
|
|||
#define TRIG_DMA (0x01 << 31)
|
||||
|
||||
/* Bus interrupt pending register */
|
||||
#define CMD_DONE_INT (1 << 31)
|
||||
#define DATA_DONE_INT (1 << 30)
|
||||
#define TRANS_OK_INT (1 << 29)
|
||||
#define TRANS_FAIL_INT (1 << 28)
|
||||
#define XD_INT (1 << 27)
|
||||
#define MS_INT (1 << 26)
|
||||
#define SD_INT (1 << 25)
|
||||
#define GPIO0_INT (1 << 24)
|
||||
#define OC_INT (1 << 23)
|
||||
#define SD_WRITE_PROTECT (1 << 19)
|
||||
#define XD_EXIST (1 << 18)
|
||||
#define MS_EXIST (1 << 17)
|
||||
#define SD_EXIST (1 << 16)
|
||||
#define CMD_DONE_INT BIT(31)
|
||||
#define DATA_DONE_INT BIT(30)
|
||||
#define TRANS_OK_INT BIT(29)
|
||||
#define TRANS_FAIL_INT BIT(28)
|
||||
#define XD_INT BIT(27)
|
||||
#define MS_INT BIT(26)
|
||||
#define SD_INT BIT(25)
|
||||
#define GPIO0_INT BIT(24)
|
||||
#define OC_INT BIT(23)
|
||||
#define SD_WRITE_PROTECT BIT(19)
|
||||
#define XD_EXIST BIT(18)
|
||||
#define MS_EXIST BIT(17)
|
||||
#define SD_EXIST BIT(16)
|
||||
#define DELINK_INT GPIO0_INT
|
||||
#define MS_OC_INT (1 << 23)
|
||||
#define SD_OC_INT (1 << 22)
|
||||
#define MS_OC_INT BIT(23)
|
||||
#define SD_OC_INT BIT(22)
|
||||
|
||||
#define CARD_INT (XD_INT | MS_INT | SD_INT)
|
||||
#define NEED_COMPLETE_INT (DATA_DONE_INT | TRANS_OK_INT | TRANS_FAIL_INT)
|
||||
|
|
Loading…
Reference in New Issue