aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2018-01-13 11:33:47 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-16 11:07:18 +0100
commitffd10c2ec771dde7005d29a255d943152311006d (patch)
tree3d05da43f608bf1ebe81dcab55e1eb50427ec92e /drivers/pinctrl
parentpinctrl: abx500: Use seq_putc() in abx500_gpio_dbg_show() (diff)
downloadlinux-dev-ffd10c2ec771dde7005d29a255d943152311006d.tar.xz
linux-dev-ffd10c2ec771dde7005d29a255d943152311006d.zip
pinctrl: pinmux: Use seq_putc() in pinmux_pins_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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c
index 82b18ef44ee4..b8e9bda8ec98 100644
--- a/drivers/pinctrl/pinmux.c
+++ b/drivers/pinctrl/pinmux.c
@@ -617,7 +617,7 @@ static int pinmux_pins_show(struct seq_file *s, void *what)
pctlops->get_group_name(pctldev,
desc->mux_setting->group));
else
- seq_printf(s, "\n");
+ seq_putc(s, '\n');
}
mutex_unlock(&pctldev->mutex);