summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/linux_wlan_common.h
diff options
context:
space:
mode:
authorAnish Bhatt2015-09-29 21:15:49 +0200
committerGreg Kroah-Hartman2015-09-30 04:57:43 +0200
commitffda203c0cf3b5b4648ba24c7d1ca34b9dcd4a3e (patch)
tree55c4a4ffba147d8bbee29f6a8a390a4fef817e81 /drivers/staging/wilc1000/linux_wlan_common.h
parentwilc1000 : Remove leftover comment delimiters (diff)
downloadkernel-qcow2-linux-ffda203c0cf3b5b4648ba24c7d1ca34b9dcd4a3e.tar.gz
kernel-qcow2-linux-ffda203c0cf3b5b4648ba24c7d1ca34b9dcd4a3e.tar.xz
kernel-qcow2-linux-ffda203c0cf3b5b4648ba24c7d1ca34b9dcd4a3e.zip
wilc1000 : Use BIT() macro where possible
Replace (1 << x) by BIT(x) as recommended by checkpatch.pl Signed-off-by: Anish Bhatt <anish@gatech.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_wlan_common.h')
-rw-r--r--drivers/staging/wilc1000/linux_wlan_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/drivers/staging/wilc1000/linux_wlan_common.h
index 8ef80c6ffbad..2b76e41ebd4d 100644
--- a/drivers/staging/wilc1000/linux_wlan_common.h
+++ b/drivers/staging/wilc1000/linux_wlan_common.h
@@ -44,10 +44,10 @@ void wilc_debugfs_remove(void);
extern atomic_t REGION;
extern atomic_t DEBUG_LEVEL;
-#define DEBUG (1 << 0)
-#define INFO (1 << 1)
-#define WRN (1 << 2)
-#define ERR (1 << 3)
+#define DEBUG BIT(0)
+#define INFO BIT(1)
+#define WRN BIT(2)
+#define ERR BIT(3)
#define PRINT_D(region, ...) \
do { \