summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/jsm
diff options
context:
space:
mode:
authorGimcuan Hui <gimcuan@gmail.com>2017-10-02 22:48:17 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-03 20:31:39 +0200
commit62fadbd8f798331d56fdadd3503dc09026ae8d1f (patch)
tree56027c6e2019bbafa745957c9f9aaf600ffc7f31 /drivers/tty/serial/jsm
parent4c3897b1b0e3fffe964deb8b008da0623dfa2057 (diff)
tty: serial: jsm: Add space before the open brace
This patch fixes the checkpatch.pl error complain: ERROR: space required before the open brace '{' Signed-off-by: Gimcuan Hui <gimcuan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/jsm')
-rw-r--r--drivers/tty/serial/jsm/jsm_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c
index ec7d8383900f..e69227cc3827 100644
--- a/drivers/tty/serial/jsm/jsm_tty.c
+++ b/drivers/tty/serial/jsm/jsm_tty.c
@@ -474,7 +474,7 @@ int jsm_uart_port_init(struct jsm_board *brd)
set_bit(line, linemap);
brd->channels[i]->uart_port.line = line;
rc = uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port);
- if (rc){
+ if (rc) {
printk(KERN_INFO "jsm: Port %d failed. Aborting...\n", i);
return rc;
}