This patch fixes the checkpatch.pl complain: ERROR: else should follow close brace '}'.
Signed-off-by: Gimcuan Hui <gimc...@gmail.com> --- drivers/tty/serial/jsm/jsm_tty.c | 3 +-- 1 file changed, 1 insertion(+), 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); } -- 2.11.0