aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/keyspan.c
diff options
context:
space:
mode:
authorBen Minerds <puzzleduck@gmail.com>2012-07-11 10:10:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 20:09:02 -0400
commitddc04ae77f6ed8ba60c2387536eeb685e9f5e856 (patch)
tree1b1735edb5e988c19e5a79d082292c2c7b6ace0a /drivers/usb/serial/keyspan.c
parent40adac81432a1e65cc36b09c0c61b48f3fa292cf (diff)
USB: serial: keyspan: Fixed space near open parenthesis.
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>
Diffstat (limited to 'drivers/usb/serial/keyspan.c')
-rw-r--r--drivers/usb/serial/keyspan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
index 1524bd5a7363..9006e574e2a2 100644
--- a/drivers/usb/serial/keyspan.c
+++ b/drivers/usb/serial/keyspan.c
@@ -557,7 +557,7 @@ static void usa28_instat_callback(struct urb *urb)
557 p_priv->dcd_state = ((msg->dcd) ? 1 : 0); 557 p_priv->dcd_state = ((msg->dcd) ? 1 : 0);
558 p_priv->ri_state = ((msg->ri) ? 1 : 0); 558 p_priv->ri_state = ((msg->ri) ? 1 : 0);
559 559
560 if( old_dcd_state != p_priv->dcd_state && old_dcd_state) { 560 if (old_dcd_state != p_priv->dcd_state && old_dcd_state) {
561 tty = tty_port_tty_get(&port->port); 561 tty = tty_port_tty_get(&port->port);
562 if (tty && !C_CLOCAL(tty)) 562 if (tty && !C_CLOCAL(tty))
563 tty_hangup(tty); 563 tty_hangup(tty);