Skip to content

Commit

Permalink
staging: mt7621-pinctrl: replace seq_printf with seq_puts
Browse files Browse the repository at this point in the history
For a constant format without additional arguments, use seq_puts()
instead of seq_printf() fixing also the following checkpatch.pl
warning: 'Prefer seq_puts to seq_printf'

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sergio Paracuellos authored and Greg Kroah-Hartman committed Jul 6, 2018
1 parent c60cf7e commit e5d66a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static void rt2880_pinctrl_pin_dbg_show(struct pinctrl_dev *pctrldev,
struct seq_file *s,
unsigned int offset)
{
seq_printf(s, "ralink pio");
seq_puts(s, "ralink pio");
}

static void rt2880_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctrldev,
Expand Down

0 comments on commit e5d66a1

Please sign in to comment.