diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-10-15 22:24:29 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-11-09 15:34:09 -0700 |
commit | 195c7a52b76db106e6d2de2b2c3384366efad23c (patch) | |
tree | 5ea73abb3cdcd42f95664b51d68972c5217bc989 /arch/arm/mach-omap2 | |
parent | bbf193fc3c449684b7f1836f8e8102f99b432207 (diff) | |
download | linux-stable-195c7a52b76db106e6d2de2b2c3384366efad23c.tar.gz linux-stable-195c7a52b76db106e6d2de2b2c3384366efad23c.tar.bz2 linux-stable-195c7a52b76db106e6d2de2b2c3384366efad23c.zip |
ARM: OMAP2+: mux: Use seq_putc() in omap_mux_dbg_signal_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: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 4bdfa3d1943e..e1fa39e1ecf8 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c @@ -661,7 +661,7 @@ static int omap_mux_dbg_signal_show(struct seq_file *s, void *unused) m->balls[1] ? m->balls[1] : none); seq_puts(s, "mode: "); omap_mux_decode(s, val); - seq_printf(s, "\n"); + seq_putc(s, '\n'); seq_printf(s, "signals: %s | %s | %s | %s | %s | %s | %s | %s\n", m->muxnames[0] ? m->muxnames[0] : none, m->muxnames[1] ? m->muxnames[1] : none, |