diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-07-20 18:26:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 16:47:45 -0400 |
commit | e8dd4757a6cf0a8909148a61b89fa3a6d4f9b3ee (patch) | |
tree | b996b23f2ff24228bc6a8568bc023ff4e615dd9e /drivers/serial | |
parent | 078dee2d298d003f19203b120b7438beea681e60 (diff) |
serial: "altera_uart: simplify altera_uart_console_putc()" checkpatch fixes
ERROR: code indent should use tabs where possible
#32: FILE: drivers/serial/altera_uart.c:397:
+^I ALTERA_UART_STATUS_TRDY_MSK))$
total: 1 errors, 0 warnings, 39 lines checked
./patches/altera_uart-simplify-altera_uart_console_putc.patch has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
This fix got lost when someone merged "altera_uart: simplify
altera_uart_console_putc()". Please don't lose fixes. Please don't write
of mere patches which have trivial checkpatch errors.
Cc: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/altera_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c index 0f1189605d21..f8d8a00554da 100644 --- a/drivers/serial/altera_uart.c +++ b/drivers/serial/altera_uart.c | |||
@@ -394,7 +394,7 @@ int __init early_altera_uart_setup(struct altera_uart_platform_uart *platp) | |||
394 | static void altera_uart_console_putc(struct uart_port *port, const char c) | 394 | static void altera_uart_console_putc(struct uart_port *port, const char c) |
395 | { | 395 | { |
396 | while (!(readl(port->membase + ALTERA_UART_STATUS_REG) & | 396 | while (!(readl(port->membase + ALTERA_UART_STATUS_REG) & |
397 | ALTERA_UART_STATUS_TRDY_MSK)) | 397 | ALTERA_UART_STATUS_TRDY_MSK)) |
398 | cpu_relax(); | 398 | cpu_relax(); |
399 | 399 | ||
400 | writel(c, port->membase + ALTERA_UART_TXDATA_REG); | 400 | writel(c, port->membase + ALTERA_UART_TXDATA_REG); |