From: Kuninori Morimoto Date: Fri, 18 Jul 2025 01:52:01 +0000 (+0000) Subject: arm: omap2: use string choices helper X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=21e2e1abd4321a220a11c2963ff60214fd73c3e8;p=users%2Fhch%2Fmisc.git arm: omap2: use string choices helper We can use string choices helper, let's use it. Signed-off-by: Kuninori Morimoto Reviewed-by: Andy Shevchenko Reviewed-by: Andreas Kemnade Link: https://lore.kernel.org/r/87ikjq5kqm.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Kevin Hilman --- 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)