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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Zihao Tang <tangzihao1@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxx>
Signed-off-by: Jay Fang <f.fangjian@xxxxxxxxxx>
---
 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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux