Skip to content

Commit 21e2e1a

Browse files
morimotokhilman
authored andcommitted
arm: omap2: use string choices helper
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> Reviewed-by: Andreas Kemnade <andreas@kemnade.info> Link: https://lore.kernel.org/r/87ikjq5kqm.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Kevin Hilman <khilman@baylibre.com>
1 parent 74139a6 commit 21e2e1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/mach-omap2/board-n8x0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static int n8x0_mmc_set_power_menelaus(struct device *dev, int slot,
167167

168168
#ifdef CONFIG_MMC_DEBUG
169169
dev_dbg(dev, "Set slot %d power: %s (vdd %d)\n", slot + 1,
170-
power_on ? "on" : "off", vdd);
170+
str_on_off(power_on), vdd);
171171
#endif
172172
if (slot == 0) {
173173
if (!power_on)

0 commit comments

Comments
 (0)