diff options
author | SF Markus Elfring <elfring@users.sourceforge.net> | 2018-03-05 16:21:26 -0800 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2018-03-05 16:21:26 -0800 |
commit | d363a88b31fc03268eada426f5940ef685b8df21 (patch) | |
tree | 831961270b7865804ea99bf9e9449ff942462933 /drivers/memory/emif.c | |
parent | 91ab883eb21325ad80f3473633f794c78ac87f51 (diff) | |
download | linux-d363a88b31fc03268eada426f5940ef685b8df21.tar.bz2 |
memory-EMIF: Use seq_putc() in emif_regdump_show()
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'drivers/memory/emif.c')
-rw-r--r-- | drivers/memory/emif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c index 04644e7b42b1..2f214440008c 100644 --- a/drivers/memory/emif.c +++ b/drivers/memory/emif.c @@ -127,7 +127,7 @@ static int emif_regdump_show(struct seq_file *s, void *unused) for (i = 0; i < EMIF_MAX_NUM_FREQUENCIES && regs_cache[i]; i++) { do_emif_regdump_show(s, emif, regs_cache[i]); - seq_printf(s, "\n"); + seq_putc(s, '\n'); } return 0; |