[resend][PATCH v2] arm: omap2: use string choices helper
Andreas Kemnade
andreas at kemnade.info
Fri Jul 18 01:14:47 PDT 2025
Am Fri, 18 Jul 2025 01:52:01 +0000
schrieb Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>:
> We can use string choices helper, let's use it.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> Reviewed-by: Andy Shevchenko <andy at kernel.org>
Reviewed-by: Andreas Kemnade <andreas at kemnade.info>
> ---
> 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)
More information about the linux-arm-kernel
mailing list