summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-06-28 21:02:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-06 17:33:42 +0200
commite5d66a1815a22a33af2619402f1d9afe40d0001a (patch)
tree59fc82f44d26b39c5f2fd7f842740df6e87b7f84 /drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
parentc60cf7e034d3868562f32e8e0458da32ba704b93 (diff)
staging: mt7621-pinctrl: replace seq_printf with seq_puts
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>
Diffstat (limited to 'drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c')
-rw-r--r--drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
index 849af875cd49..ea37ae4cadb3 100644
--- a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
+++ b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
@@ -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,