diff options
author | Anish Bhatt <anish@gatech.edu> | 2015-09-29 12:15:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-30 04:57:43 +0200 |
commit | ffda203c0cf3b5b4648ba24c7d1ca34b9dcd4a3e (patch) | |
tree | 55c4a4ffba147d8bbee29f6a8a390a4fef817e81 /drivers/staging/wilc1000/linux_wlan_common.h | |
parent | 65ead4ecb2d22a78592263ecba3decbc9df548dd (diff) | |
download | op-kernel-dev-ffda203c0cf3b5b4648ba24c7d1ca34b9dcd4a3e.zip op-kernel-dev-ffda203c0cf3b5b4648ba24c7d1ca34b9dcd4a3e.tar.gz |
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.h | 8 |
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 8ef80c6..2b76e41 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 { \ |