projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24719a8
)
tty: serial: jsm: fix coding style
author
Gimcuan Hui
<gimcuan@gmail.com>
Sun, 5 Nov 2017 05:06:21 +0000
(
05:06
+0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 8 Nov 2017 11:58:31 +0000
(12:58 +0100)
This patch fixes the checkpatch.pl complain:
ERROR: else should follow close brace '}'.
Signed-off-by: Gimcuan Hui <gimcuan@gmail.com>
Acked-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/jsm/jsm_tty.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/jsm/jsm_tty.c
b/drivers/tty/serial/jsm/jsm_tty.c
index
53c3f53
..
3853bfa
100644
(file)
--- a/
drivers/tty/serial/jsm/jsm_tty.c
+++ b/
drivers/tty/serial/jsm/jsm_tty.c
@@
-478,8
+478,7
@@
int jsm_uart_port_init(struct jsm_board *brd)
if (rc) {
printk(KERN_INFO "jsm: Port %d failed. Aborting...\n", i);
return rc;
- }
- else
+ } else
printk(KERN_INFO "jsm: Port %d added\n", i);
}