summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorGimcuan Hui <gimcuan@gmail.com>2017-11-05 06:06:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-08 12:58:31 +0100
commit67c6f4b660985f5754fa7c98bd53705020814d32 (patch)
treecb1f47c0389094a1045793c523bd622ed9147eca /drivers/tty
parenttty: serial: jsm: delete space between function name and '(' (diff)
downloadlinux-67c6f4b660985f5754fa7c98bd53705020814d32.tar.xz
linux-67c6f4b660985f5754fa7c98bd53705020814d32.zip
tty: serial: jsm: fix coding style
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/jsm/jsm_tty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c
index 53c3f53da241..3853bfa5aa46 100644
--- 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);
}