提交 9303ac15 编写于 作者: S Sachin Kamat 提交者: Greg Kroah-Hartman

serial: Samsung: Silence some checkpatch errors and warnings

Fixes the following errors and warnings:
ERROR: trailing whitespace
ERROR: return is not a function, parentheses are not required
WARNING: suspect code indent for conditional statements (32, 36)
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Acked-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d20925e1
...@@ -82,7 +82,7 @@ static inline const char *s3c24xx_serial_portname(struct uart_port *port) ...@@ -82,7 +82,7 @@ static inline const char *s3c24xx_serial_portname(struct uart_port *port)
static int s3c24xx_serial_txempty_nofifo(struct uart_port *port) static int s3c24xx_serial_txempty_nofifo(struct uart_port *port)
{ {
return (rd_regl(port, S3C2410_UTRSTAT) & S3C2410_UTRSTAT_TXE); return rd_regl(port, S3C2410_UTRSTAT) & S3C2410_UTRSTAT_TXE;
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册