public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [resend][PATCH v2] arm: omap2: use string choices helper
@ 2025-07-18  1:52 Kuninori Morimoto
  2025-07-18  8:14 ` Andreas Kemnade
  2025-09-08 21:31 ` Kevin Hilman
  0 siblings, 2 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2025-07-18  1:52 UTC (permalink / raw)
  To: rmk+kernel, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
	Roger Quadros, Russell King, Tony Lindgren, linux-arm-kernel

We can use string choices helper, let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
---
 arch/arm/mach-omap2/board-n8x0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index ff2a4a4d8220..969265d5d5c6 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -167,7 +167,7 @@ static int n8x0_mmc_set_power_menelaus(struct device *dev, int slot,
 
 #ifdef CONFIG_MMC_DEBUG
 	dev_dbg(dev, "Set slot %d power: %s (vdd %d)\n", slot + 1,
-		power_on ? "on" : "off", vdd);
+		str_on_off(power_on), vdd);
 #endif
 	if (slot == 0) {
 		if (!power_on)
-- 
2.43.0



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

end of thread, other threads:[~2025-09-09  6:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18  1:52 [resend][PATCH v2] arm: omap2: use string choices helper Kuninori Morimoto
2025-07-18  8:14 ` Andreas Kemnade
2025-09-08 21:31 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox