[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1307189373-28487-1-git-send-email-aviv.by@gmail.com>
Date: Sat, 4 Jun 2011 05:09:33 -0700
From: Aviv Ben-Yosef <aviv.by@...il.com>
To: Eng.Linux@...i.com, gregkh@...e.de, lucas.demarchi@...fusion.mobi
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Aviv Ben-Yosef <aviv.by@...il.com>
Subject: [PATCH 1/1] Staging: tty: epca: fixing return code-style issue
Fixed a coding-style issue, ``return'' with parens.
Signed-off-by: Aviv Ben-Yosef <aviv.by@...il.com>
---
drivers/staging/tty/epca.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/tty/epca.c b/drivers/staging/tty/epca.c
index 7f1369e..2a4ba10 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;
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists