Skip to content

Commit dd7cc7e

Browse files
viliegregkh
authored andcommitted
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>
1 parent f1159d7 commit dd7cc7e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/staging/fwserial/fwserial.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ static void fwtty_debugfs_show_port(struct seq_file *m, struct fwtty_port *port)
15271527
stats.watermark);
15281528

15291529
if (port->port.console) {
1530-
seq_printf(m, "\n ");
1530+
seq_puts(m, "\n ");
15311531
(*port->fwcon_ops->proc_show)(m, port->con_data);
15321532
}
15331533

@@ -1559,7 +1559,7 @@ static int fwtty_proc_show(struct seq_file *m, void *v)
15591559
if (capable(CAP_SYS_ADMIN))
15601560
fwtty_proc_show_port(m, port);
15611561
fwtty_port_put(port);
1562-
seq_printf(m, "\n");
1562+
seq_puts(m, "\n");
15631563
}
15641564
return 0;
15651565
}
@@ -1577,7 +1577,7 @@ static int fwtty_debugfs_stats_show(struct seq_file *m, void *v)
15771577
fwtty_proc_show_port(m, port);
15781578
fwtty_debugfs_show_port(m, port);
15791579
fwtty_port_put(port);
1580-
seq_printf(m, "\n");
1580+
seq_puts(m, "\n");
15811581
}
15821582
}
15831583
return 0;

0 commit comments

Comments
 (0)