diff mbox series

[11/11] mmc: wbsd: Use BIT() macro

Message ID 20230620104722.16465-11-marex@denx.de
State New
Headers show
Series [01/11] mmc: core: Use BIT() macro | expand

Commit Message

Marek Vasut June 20, 2023, 10:47 a.m. UTC
Use the BIT(n) macro instead of (1<<n), no functional change.
Regex 's@(1 \?<< \?\([0-9A-Z_]\+\))@BIT(\1)' .

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Avri Altman <avri.altman@wdc.com>
Cc: Bo Liu <liubo03@inspur.com>
Cc: Deren Wu <deren.wu@mediatek.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Yang Yingliang <yangyingliang@huawei.com>
Cc: linux-mmc@vger.kernel.org
---
 drivers/mmc/host/wbsd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/mmc/host/wbsd.h b/drivers/mmc/host/wbsd.h
index be30b4d8ce4c7..e78258d00b868 100644
--- a/drivers/mmc/host/wbsd.h
+++ b/drivers/mmc/host/wbsd.h
@@ -141,8 +141,8 @@  struct wbsd_host
 
 	int			flags;		/* Driver states */
 
-#define WBSD_FCARD_PRESENT	(1<<0)		/* Card is present */
-#define WBSD_FIGNORE_DETECT	(1<<1)		/* Ignore card detection */
+#define WBSD_FCARD_PRESENT	BIT(0)		/* Card is present */
+#define WBSD_FIGNORE_DETECT	BIT(1)		/* Ignore card detection */
 
 	struct mmc_request*	mrq;		/* Current request */