All of lore.kernel.org
 help / color / mirror / Atom feed
* [Outreachy Kernel][PATCH]staging:mt7621-mmc: Prefer using BIT macro
@ 2019-02-19  6:38 Bhanusree Pola
  2019-02-19 15:31 ` Matthias Brugger
  2019-02-19 15:56 ` [Outreachy kernel] " Himanshu Jha
  0 siblings, 2 replies; 5+ messages in thread
From: Bhanusree Pola @ 2019-02-19  6:38 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Greg Kroah-Hartman, Matthias Brugger

Use BIT(x) instead of (1<<x), reported by checkpatch.pl.

Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com>
---
 drivers/staging/mt7621-mmc/mt6575_sd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 
 /*--------------------------------------------------------------------------*/
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-20 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19  6:38 [Outreachy Kernel][PATCH]staging:mt7621-mmc: Prefer using BIT macro Bhanusree Pola
2019-02-19 15:31 ` Matthias Brugger
2019-02-19 15:42   ` [Outreachy kernel] " Julia Lawall
2019-02-19 15:56 ` [Outreachy kernel] " Himanshu Jha
2019-02-20 10:24   ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.