Skip to content

Commit 02c9d28

Browse files
elfringLinus Walleij
authored andcommitted
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>
1 parent 8b3d9cd commit 02c9d28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/pinctrl/nomadik/pinctrl-abx500.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ static void abx500_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
633633
for (i = 0; i < chip->ngpio; i++, gpio++) {
634634
/* On AB8500, there is no GPIO0, the first is the GPIO 1 */
635635
abx500_gpio_dbg_show_one(s, pctldev, chip, i + 1, gpio);
636-
seq_printf(s, "\n");
636+
seq_putc(s, '\n');
637637
}
638638
}
639639

0 commit comments

Comments
 (0)