diff mbox series

[03/11] tty: serial: amba-pl011: Replace the unsuitable spaces with tabs

Message ID 1621303038-12062-4-git-send-email-f.fangjian@huawei.com
State New
Headers show
Series tty: serial: Fix some coding style issues | expand

Commit Message

Jay Fang May 18, 2021, 1:57 a.m. UTC
From: Zihao Tang <tangzihao1@hisilicon.com>

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 <tangzihao1@hisilicon.com>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
 drivers/tty/serial/amba-pl011.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

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);
 }
 
 /*