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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9d17653c721aa7f7c823d6ebc554e2c03ce35fbd;p=mv-sheeva.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 7f1369e5b41..2a4ba10ef92 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;