From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Sat, 13 Jul 2024 16:10:31 +0200 Single characters (line breaks) should be put into a sequence. Thus use the corresponding function “seq_putc”. This issue was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> --- drivers/pinctrl/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 314ab93d7691..6d61101f488a 100644 --- a/drivers/pinctrl/core.c +++ b/drivers/pinctrl/core.c @@ -1707,7 +1707,7 @@ static int pinctrl_pins_show(struct seq_file *s, void *what) if (ops->pin_dbg_show) ops->pin_dbg_show(pctldev, s, pin); - seq_puts(s, "\n"); + seq_putc(s, '\n'); } mutex_unlock(&pctldev->mutex); @@ -1751,7 +1751,7 @@ static int pinctrl_groups_show(struct seq_file *s, void *what) } seq_printf(s, "pin %d (%s)\n", pins[i], pname); } - seq_puts(s, "\n"); + seq_putc(s, '\n'); } selector++; } @@ -1814,7 +1814,7 @@ static int pinctrl_devices_show(struct seq_file *s, void *what) seq_puts(s, "yes"); else seq_puts(s, "no"); - seq_puts(s, "\n"); + seq_putc(s, '\n'); } mutex_unlock(&pinctrldev_list_mutex); -- 2.45.2