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

Commit 2580b1ce authored by Markus Elfring's avatar Markus Elfring Committed by Geert Uytterhoeven
Browse files

pinctrl: sh-pfc: Use seq_puts() in sh_pfc_pin_dbg_show()



A string which did not contain a data format specification should be put
into a sequence. Thus use the corresponding function "seq_puts".

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent edc4e74d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ static int sh_pfc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector,
static void sh_pfc_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s,
				unsigned offset)
{
	seq_printf(s, "%s", DRV_NAME);
	seq_puts(s, DRV_NAME);
}

#ifdef CONFIG_OF