Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 390e1046 authored by Markus Elfring's avatar Markus Elfring Committed by Linus Walleij
Browse files

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e8c5d759
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);