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

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

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 02c9d285
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -617,7 +617,7 @@ static int pinmux_pins_show(struct seq_file *s, void *what)
				   pctlops->get_group_name(pctldev,
					desc->mux_setting->group));
		else
			seq_printf(s, "\n");
			seq_putc(s, '\n');
	}

	mutex_unlock(&pctldev->mutex);