Commit dd7cc7e4 authored by Valentin Ilie's avatar Valentin Ilie Committed by Greg Kroah-Hartman

staging/fwserial: Replace seq_printf with seq_puts

Fix checkpatch warning about seq_printf.
Signed-off-by: default avatarValentin Ilie <valentin.ilie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f1159d7c
...@@ -1527,7 +1527,7 @@ static void fwtty_debugfs_show_port(struct seq_file *m, struct fwtty_port *port) ...@@ -1527,7 +1527,7 @@ static void fwtty_debugfs_show_port(struct seq_file *m, struct fwtty_port *port)
stats.watermark); stats.watermark);
if (port->port.console) { if (port->port.console) {
seq_printf(m, "\n "); seq_puts(m, "\n ");
(*port->fwcon_ops->proc_show)(m, port->con_data); (*port->fwcon_ops->proc_show)(m, port->con_data);
} }
...@@ -1559,7 +1559,7 @@ static int fwtty_proc_show(struct seq_file *m, void *v) ...@@ -1559,7 +1559,7 @@ static int fwtty_proc_show(struct seq_file *m, void *v)
if (capable(CAP_SYS_ADMIN)) if (capable(CAP_SYS_ADMIN))
fwtty_proc_show_port(m, port); fwtty_proc_show_port(m, port);
fwtty_port_put(port); fwtty_port_put(port);
seq_printf(m, "\n"); seq_puts(m, "\n");
} }
return 0; return 0;
} }
...@@ -1577,7 +1577,7 @@ static int fwtty_debugfs_stats_show(struct seq_file *m, void *v) ...@@ -1577,7 +1577,7 @@ static int fwtty_debugfs_stats_show(struct seq_file *m, void *v)
fwtty_proc_show_port(m, port); fwtty_proc_show_port(m, port);
fwtty_debugfs_show_port(m, port); fwtty_debugfs_show_port(m, port);
fwtty_port_put(port); fwtty_port_put(port);
seq_printf(m, "\n"); seq_puts(m, "\n");
} }
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment