USB: serial: keyspan: Fixed space near open parenthesis.
authorBen Minerds <puzzleduck@gmail.com>
Wed, 11 Jul 2012 14:10:18 +0000 (00:10 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 00:09:02 +0000 (17:09 -0700)
Changes to conform with checkpatch.sh script. - space near open
parenthesis '('. Removed 2 checkpatch.sh errors.

Signed-off-by: Ben Minerds <puzzleduck@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/keyspan.c

index 1524bd5a736373a807a35eb75761ce8b89dd7661..9006e574e2a29924f65f01dbb5bdc0acfd68bd7e 100644 (file)
@@ -557,7 +557,7 @@ static void usa28_instat_callback(struct urb *urb)
        p_priv->dcd_state = ((msg->dcd) ? 1 : 0);
        p_priv->ri_state = ((msg->ri) ? 1 : 0);
 
-       ifold_dcd_state != p_priv->dcd_state && old_dcd_state) {
+       if (old_dcd_state != p_priv->dcd_state && old_dcd_state) {
                tty = tty_port_tty_get(&port->port);
                if (tty && !C_CLOCAL(tty)) 
                        tty_hangup(tty);
This page took 0.025655 seconds and 5 git commands to generate.