mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 08:35:19 -05:00
pinctrl: sprd: Use seq_putc() in sprd_pinconf_group_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>
This commit is contained in:
parent
ffd10c2ec7
commit
9d2fc7c370
1 changed files with 1 additions and 1 deletions
|
@ -818,7 +818,7 @@ static void sprd_pinconf_group_dbg_show(struct pinctrl_dev *pctldev,
|
|||
|
||||
grp = &info->groups[selector];
|
||||
|
||||
seq_printf(s, "\n");
|
||||
seq_putc(s, '\n');
|
||||
for (i = 0; i < grp->npins; i++, config++) {
|
||||
unsigned int pin_id = grp->pins[i];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue