aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAviv Ben-Yosef <aviv.by@gmail.com>2011-06-04 05:09:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-28 14:29:19 -0700
commit9d17653c721aa7f7c823d6ebc554e2c03ce35fbd (patch)
treeaaeb8a5ef44aeed58f5628baae6646556c1eb562
parent562d683cc756ee3d02f86ffeb68f0665547568c0 (diff)
Staging: tty: epca: fixing return code-style issue
Fixed a coding-style issue, ``return'' with parens. Signed-off-by: Aviv Ben-Yosef <aviv.by@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/tty/epca.c2
1 files changed, 1 insertions, 1 deletions
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;