diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-03-19 09:26:17 +0900 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-19 10:19:49 +0000 |
commit | 80c48e72f831bbfea4bf58d8e78ff2b18c90ec17 (patch) | |
tree | 52dc69e09d860cd57717b61fa5226539374f5a0a /drivers/regulator/dbx500-prcmu.c | |
parent | e77addc5975e935109a1530ff726d7b42b43392b (diff) | |
download | talos-obmc-linux-80c48e72f831bbfea4bf58d8e78ff2b18c90ec17.tar.gz talos-obmc-linux-80c48e72f831bbfea4bf58d8e78ff2b18c90ec17.zip |
regulator: dbx500: use seq_puts() instead of seq_printf()
For a constant format without additional arguments, use seq_puts()
instead of seq_printf(). Also, it fixes the following checkpatch
warning.
WARNING: Prefer seq_puts to seq_printf
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/dbx500-prcmu.c')
-rw-r--r-- | drivers/regulator/dbx500-prcmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/dbx500-prcmu.c b/drivers/regulator/dbx500-prcmu.c index 538478883ae2..2d16b9f16de7 100644 --- a/drivers/regulator/dbx500-prcmu.c +++ b/drivers/regulator/dbx500-prcmu.c @@ -129,9 +129,9 @@ static int ux500_regulator_status_print(struct seq_file *s, void *p) int i; /* print dump header */ - err = seq_printf(s, "ux500-regulator status:\n"); + err = seq_puts(s, "ux500-regulator status:\n"); if (err < 0) - dev_err(dev, "seq_printf overflow\n"); + dev_err(dev, "seq_puts overflow\n"); err = seq_printf(s, "%31s : %8s : %8s\n", "current", "before", "after"); |