Commit 835068d8 authored by Punit Vara's avatar Punit Vara Committed by Greg Kroah-Hartman

Staging: ks7010: Prefer using the BIT macro

Replace all occurences of (1<<x) by BIT(x) in the file
ks7010_sdio.h to get rid of checkpatch.pl "CHECK" output "Prefer
using BIT macro".
Signed-off-by: default avatarPunit Vara <punitvara@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ece26a69
...@@ -53,14 +53,14 @@ ...@@ -53,14 +53,14 @@
/* ARM to SD interrupt Pending */ /* ARM to SD interrupt Pending */
#define INT_PENDING 0x000024 #define INT_PENDING 0x000024
#define INT_GCR_B (1<<7) #define INT_GCR_B BIT(7)
#define INT_GCR_A (1<<6) #define INT_GCR_A BIT(6)
#define INT_WRITE_STATUS (1<<5) #define INT_WRITE_STATUS BIT(5)
#define INT_WRITE_INDEX (1<<4) #define INT_WRITE_INDEX BIT(4)
#define INT_WRITE_SIZE (1<<3) #define INT_WRITE_SIZE BIT(3)
#define INT_READ_STATUS (1<<2) #define INT_READ_STATUS BIT(2)
#define INT_READ_INDEX (1<<1) #define INT_READ_INDEX BIT(1)
#define INT_READ_SIZE (1<<0) #define INT_READ_SIZE BIT(0)
/* General Communication Register A */ /* General Communication Register A */
#define GCR_A 0x000028 #define GCR_A 0x000028
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment