aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-mmc/mt6575_sd.h
diff options
context:
space:
mode:
authorBhanusree Pola <bhanusreemahesh@gmail.com>2019-02-19 12:08:48 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-19 11:18:00 +0100
commitf54a740176fe2340a5a69de750bb496ee674866f (patch)
tree50bad00a3f1c7957ea9178b8c9d4b92e3ef40180 /drivers/staging/mt7621-mmc/mt6575_sd.h
parentstaging: rtlwifi: Remove set but not used variables 'dataempty, hoffset' (diff)
downloadlinux-dev-f54a740176fe2340a5a69de750bb496ee674866f.tar.xz
linux-dev-f54a740176fe2340a5a69de750bb496ee674866f.zip
staging: mt7621-mmc: Prefer using BIT macro
Use BIT(x) instead of (1<<x), reported by checkpatch.pl. Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/mt7621-mmc/mt6575_sd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-mmc/mt6575_sd.h b/drivers/staging/mt7621-mmc/mt6575_sd.h
index 4e287c140acb..038a484a9476 100644
--- a/drivers/staging/mt7621-mmc/mt6575_sd.h
+++ b/drivers/staging/mt7621-mmc/mt6575_sd.h
@@ -363,7 +363,7 @@ enum {
#define MSDC_CKGEN_MSDC_DLY_SEL (0x1F << 10)
#define MSDC_INT_DAT_LATCH_CK_SEL (0x7 << 7)
#define MSDC_CKGEN_MSDC_CK_SEL (0x1 << 6)
-#define CARD_READY_FOR_DATA (1 << 8)
+#define CARD_READY_FOR_DATA BIT(8)
#define CARD_CURRENT_STATE(x) ((x & 0x00001E00) >> 9)
/*--------------------------------------------------------------------------*/