Browse Source

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>
Gimcuan Hui 8 năm trước cách đây
mục cha
commit
62fadbd8f7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/tty/serial/jsm/jsm_tty.c

+ 1 - 1
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;
 		}