OSDN Git Service

pinctrl-baytrail: change lvl to level
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 10 Jul 2013 13:42:14 +0000 (16:42 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Jul 2013 23:23:26 +0000 (01:23 +0200)
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>
drivers/pinctrl/pinctrl-baytrail.c

index fccf72e..f3d3053 100644 (file)
@@ -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);
 }