mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-15 06:00:41 +00:00
pinctrl: Use seq_putc() in pinctrl_maps_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>
This commit is contained in:
parent
e8c5d759da
commit
390e10464d
@ -1732,7 +1732,7 @@ static int pinctrl_maps_show(struct seq_file *s, void *what)
|
||||
break;
|
||||
}
|
||||
|
||||
seq_printf(s, "\n");
|
||||
seq_putc(s, '\n');
|
||||
}
|
||||
mutex_unlock(&pinctrl_maps_mutex);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user