diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-19 05:31:24 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-12-20 10:53:41 +0100 |
commit | adcba1e3a5d97d93f2277bcf38ae1eb2c91fc840 (patch) | |
tree | 8cffed28ea02d2d9d7e92ab78ed8a43115960345 /drivers/pwm | |
parent | pwm: atmel-pwm: Do not unprepare clock after successful registration (diff) | |
download | linux-adcba1e3a5d97d93f2277bcf38ae1eb2c91fc840.tar.xz linux-adcba1e3a5d97d93f2277bcf38ae1eb2c91fc840.zip |
pwm: use seq_puts() instead of seq_printf()
For a constant format without additional arguments, use seq_puts()
instead of seq_printf(). Also, the following checkpatch warning is
fixed.
WARNING: Prefer seq_puts to seq_printf
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r-- | drivers/pwm/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c index 2ca95042a0b9..a80471399c20 100644 --- a/drivers/pwm/core.c +++ b/drivers/pwm/core.c @@ -808,12 +808,12 @@ static void pwm_dbg_show(struct pwm_chip *chip, struct seq_file *s) seq_printf(s, " pwm-%-3d (%-20.20s):", i, pwm->label); if (test_bit(PWMF_REQUESTED, &pwm->flags)) - seq_printf(s, " requested"); + seq_puts(s, " requested"); if (test_bit(PWMF_ENABLED, &pwm->flags)) - seq_printf(s, " enabled"); + seq_puts(s, " enabled"); - seq_printf(s, "\n"); + seq_puts(s, "\n"); } } |