mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
staging/fwserial: Replace seq_printf with seq_puts
Fix checkpatch warning about seq_printf. Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f1159d7cc0
commit
dd7cc7e418
@ -1527,7 +1527,7 @@ static void fwtty_debugfs_show_port(struct seq_file *m, struct fwtty_port *port)
|
||||
stats.watermark);
|
||||
|
||||
if (port->port.console) {
|
||||
seq_printf(m, "\n ");
|
||||
seq_puts(m, "\n ");
|
||||
(*port->fwcon_ops->proc_show)(m, port->con_data);
|
||||
}
|
||||
|
||||
@ -1559,7 +1559,7 @@ static int fwtty_proc_show(struct seq_file *m, void *v)
|
||||
if (capable(CAP_SYS_ADMIN))
|
||||
fwtty_proc_show_port(m, port);
|
||||
fwtty_port_put(port);
|
||||
seq_printf(m, "\n");
|
||||
seq_puts(m, "\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@ -1577,7 +1577,7 @@ static int fwtty_debugfs_stats_show(struct seq_file *m, void *v)
|
||||
fwtty_proc_show_port(m, port);
|
||||
fwtty_debugfs_show_port(m, port);
|
||||
fwtty_port_put(port);
|
||||
seq_printf(m, "\n");
|
||||
seq_puts(m, "\n");
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user