We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b586f28 + 90ec89d commit d2755d3Copy full SHA for d2755d3
arch/arm/plat-orion/gpio.c
@@ -468,14 +468,14 @@ static void orion_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
468
469
if (is_out) {
470
seq_printf(s, " out %s %s\n",
471
- out & msk ? "hi" : "lo",
+ str_hi_lo(out & msk),
472
blink & msk ? "(blink )" : "");
473
continue;
474
}
475
476
seq_printf(s, " in %s (act %s) - IRQ",
477
- (data_in ^ in_pol) & msk ? "hi" : "lo",
478
- in_pol & msk ? "lo" : "hi");
+ str_hi_lo((data_in ^ in_pol) & msk),
+ str_lo_hi(in_pol & msk));
479
if (!((edg_msk | lvl_msk) & msk)) {
480
seq_puts(s, " disabled\n");
481
0 commit comments