Skip to content

Commit ffd10c2

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/pinctrl/pinmux.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ static int pinmux_pins_show(struct seq_file *s, void *what)
617617
pctlops->get_group_name(pctldev,
618618
desc->mux_setting->group));
619619
else
620-
seq_printf(s, "\n");
620+
seq_putc(s, '\n');
621621
}
622622

623623
mutex_unlock(&pctldev->mutex);

0 commit comments

Comments
 (0)