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: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d20925e1e4
commit
9303ac158f
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue