Skip to content

Commit

Permalink
USB: serial: keyspan: Fixed space near open parenthesis.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Minerds authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent 40adac8 commit ddc04ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/keyspan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ddc04ae

Please sign in to comment.