From: Aviv Ben-Yosef Date: Sat, 4 Jun 2011 12:09:33 +0000 (-0700) Subject: Staging: tty: epca: fixing return code-style issue X-Git-Tag: MMI-PSA29.97-13-9~18845^2~507 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d17653c721aa7f7c823d6ebc554e2c03ce35fbd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: tty: epca: fixing return code-style issue Fixed a coding-style issue, ``return'' with parens. Signed-off-by: Aviv Ben-Yosef Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/tty/epca.c b/drivers/staging/tty/epca.c index 7f1369e5b418..2a4ba10ef92d 100644 --- a/drivers/staging/tty/epca.c +++ b/drivers/staging/tty/epca.c @@ -792,7 +792,7 @@ static int pc_open(struct tty_struct *tty, struct file *filp) } if (boardnum >= num_cards || boards[boardnum].status == DISABLED) { tty->driver_data = NULL; /* Mark this device as 'down' */ - return(-ENODEV); + return -ENODEV; } bc = ch->brdchan;