From 9d17653c721aa7f7c823d6ebc554e2c03ce35fbd Mon Sep 17 00:00:00 2001 From: Aviv Ben-Yosef Date: Sat, 4 Jun 2011 05:09:33 -0700 Subject: [PATCH] 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 --- drivers/staging/tty/epca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5