summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Minerds <puzzleduck@gmail.com>2012-07-12 00:10:18 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 17:09:02 -0700
commitddc04ae77f6ed8ba60c2387536eeb685e9f5e856 (patch)
tree1b1735edb5e988c19e5a79d082292c2c7b6ace0a /drivers
parent40adac81432a1e65cc36b09c0c61b48f3fa292cf (diff)
downloadtalos-obmc-linux-ddc04ae77f6ed8ba60c2387536eeb685e9f5e856.tar.gz
talos-obmc-linux-ddc04ae77f6ed8ba60c2387536eeb685e9f5e856.zip
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')
-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)
p_priv->dcd_state = ((msg->dcd) ? 1 : 0);
p_priv->ri_state = ((msg->ri) ? 1 : 0);
- if( old_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);
OpenPOWER on IntegriCloud