diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-01-13 05:04:29 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-16 05:06:13 -0500 |
commit | 02c9d285ff321c306a321b5f7df054d194dec52f (patch) | |
tree | f31cf39ffece7f753f86120e8876e3cca386f933 | |
parent | 8b3d9cd48d15f34328ec69ecff5ca860e7068e36 (diff) |
pinctrl: abx500: Use seq_putc() in abx500_gpio_dbg_show()
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-abx500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c index 7d00a5d864f5..d56a49e53f56 100644 --- a/drivers/pinctrl/nomadik/pinctrl-abx500.c +++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c | |||
@@ -633,7 +633,7 @@ static void abx500_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip) | |||
633 | for (i = 0; i < chip->ngpio; i++, gpio++) { | 633 | for (i = 0; i < chip->ngpio; i++, gpio++) { |
634 | /* On AB8500, there is no GPIO0, the first is the GPIO 1 */ | 634 | /* On AB8500, there is no GPIO0, the first is the GPIO 1 */ |
635 | abx500_gpio_dbg_show_one(s, pctldev, chip, i + 1, gpio); | 635 | abx500_gpio_dbg_show_one(s, pctldev, chip, i + 1, gpio); |
636 | seq_printf(s, "\n"); | 636 | seq_putc(s, '\n'); |
637 | } | 637 | } |
638 | } | 638 | } |
639 | 639 | ||