]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
staging/fwserial: Replace seq_printf with seq_puts
authorValentin Ilie <valentin.ilie@gmail.com>
Mon, 8 Apr 2013 10:49:21 +0000 (13:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 17:32:53 +0000 (10:32 -0700)
Fix checkpatch warning about seq_printf.

Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fwserial/fwserial.c

index 5a6fb44f38a8ae22a2d6d8d8786b3788dc7f9f07..0263e98b445dd775e0e09545c07051847e24d532 100644 (file)
@@ -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;