From: Zihao Tang <redacted>
Replace the unsuitable spaces at the start of a line reported by
checkpatch.pl with tabs:
WARNING: please, no spaces at the start of a line
#1813: FILE: ./drivers/tty/serial/amba-pl011.c:1813:
+ unsigned long val;$
WARNING: please, no spaces at the start of a line
#1815: FILE: ./drivers/tty/serial/amba-pl011.c:1815:
+ val = pl011_read(uap, lcrh);$
WARNING: please, no spaces at the start of a line
#1816: FILE: ./drivers/tty/serial/amba-pl011.c:1816:
+ val &= ~(UART01x_LCRH_BRK | UART01x_LCRH_FEN);$
WARNING: please, no spaces at the start of a line
#1817: FILE: ./drivers/tty/serial/amba-pl011.c:1817:
+ pl011_write(val, uap, lcrh);$
Signed-off-by: Zihao Tang <redacted>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
drivers/tty/serial/amba-pl011.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 78682c1..2a63e70 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -1810,11 +1810,11 @@ static int sbsa_uart_startup(struct uart_port *port)
static void pl011_shutdown_channel(struct uart_amba_port *uap,
unsigned int lcrh)
{
- unsigned long val;
+ unsigned long val;
- val = pl011_read(uap, lcrh);
- val &= ~(UART01x_LCRH_BRK | UART01x_LCRH_FEN);
- pl011_write(val, uap, lcrh);
+ val = pl011_read(uap, lcrh);
+ val &= ~(UART01x_LCRH_BRK | UART01x_LCRH_FEN);
+ pl011_write(val, uap, lcrh);
}
/*--
2.7.4