projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
562d683
)
Staging: tty: epca: fixing return code-style issue
author
Aviv Ben-Yosef
<aviv.by@gmail.com>
Sat, 4 Jun 2011 12:09:33 +0000
(
05:09
-0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 28 Jun 2011 21:29:19 +0000
(14:29 -0700)
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>
drivers/staging/tty/epca.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/tty/epca.c
b/drivers/staging/tty/epca.c
index 7f1369e5b418924b77e9d2e0ac8b6f36c304a307..2a4ba10ef92da675497b53cf0b5b8300580f3351 100644
(file)
--- 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;