Staging: fwserial: wrap a line that exceeds 80 characters
authorJon Bernard <jbernard@tuxion.com>
Tue, 10 Sep 2013 22:00:01 +0000 (18:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:47:44 +0000 (07:47 -0700)
This is a patch to fwserial.c that wraps a line which previously exceeded the 80
character limit warning found by checkpatch.pl.  This driver is now warning and
error free, according to checkpatch.pl

Signed-off-by: Jon Bernard <jbernard@tuxion.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fwserial/fwserial.c

index ff92f34..62df009 100644 (file)
@@ -2394,7 +2394,8 @@ static int fwserial_create(struct fw_unit *unit)
 
        list_del_rcu(&serial->list);
        if (create_loop_dev)
-               tty_unregister_device(fwloop_driver, loop_idx(serial->ports[j]));
+               tty_unregister_device(fwloop_driver,
+                                     loop_idx(serial->ports[j]));
 unregister_ttys:
        for (--j; j >= 0; --j)
                tty_unregister_device(fwtty_driver, serial->ports[j]->index);