pinctrl-baytrail: change lvl to level
Additionally remove trailing whitespace when print triggering type. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Родитель
ec243320e0
Коммит
1583449ef7
|
@ -294,9 +294,9 @@ static void byt_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
|
|||
val & BYT_LEVEL ? "hi" : "lo",
|
||||
vg->range->pins[i], offs,
|
||||
conf0 & 0x7,
|
||||
conf0 & BYT_TRIG_NEG ? "fall " : "",
|
||||
conf0 & BYT_TRIG_POS ? "rise " : "",
|
||||
conf0 & BYT_TRIG_LVL ? "lvl " : "");
|
||||
conf0 & BYT_TRIG_NEG ? " fall" : "",
|
||||
conf0 & BYT_TRIG_POS ? " rise" : "",
|
||||
conf0 & BYT_TRIG_LVL ? " level" : "");
|
||||
}
|
||||
spin_unlock_irqrestore(&vg->lock, flags);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче