diff options
author | vikram pandita <vikram.pandita@ti.com> | 2010-02-15 13:03:33 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 13:03:33 -0500 |
commit | 30e53bccfa15c6c0839c87705a66d478bb10baf5 (patch) | |
tree | ad36c69e2dee0ca88492a342027c9d58c0d5ba23 | |
parent | 2586ef0d1db6d606e5ceb7fbf97f34c8b402e90c (diff) |
omap2/3/4: serial: fix coding style indentaion
No logical code change
Fix coding style indentaion as per checkpatch.pl
Fix multi-line comment style reported by Nishanth Menon
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 2b784002bf77..5f3035ec0d6f 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -716,15 +716,16 @@ void __init omap_serial_init_port(int port) | |||
716 | DEV_CREATE_FILE(dev, &dev_attr_sleep_timeout); | 716 | DEV_CREATE_FILE(dev, &dev_attr_sleep_timeout); |
717 | } | 717 | } |
718 | 718 | ||
719 | /* omap44xx: Never read empty UART fifo | 719 | /* |
720 | * omap3xxx: Never read empty UART fifo on UARTs | 720 | * omap44xx: Never read empty UART fifo |
721 | * with IP rev >=0x52 | 721 | * omap3xxx: Never read empty UART fifo on UARTs |
722 | */ | 722 | * with IP rev >=0x52 |
723 | if (cpu_is_omap44xx()) | 723 | */ |
724 | uart->p->serial_in = serial_in_override; | 724 | if (cpu_is_omap44xx()) |
725 | else if ((serial_read_reg(uart->p, UART_OMAP_MVER) & 0xFF) | 725 | uart->p->serial_in = serial_in_override; |
726 | >= UART_OMAP_NO_EMPTY_FIFO_READ_IP_REV) | 726 | else if ((serial_read_reg(uart->p, UART_OMAP_MVER) & 0xFF) |
727 | uart->p->serial_in = serial_in_override; | 727 | >= UART_OMAP_NO_EMPTY_FIFO_READ_IP_REV) |
728 | uart->p->serial_in = serial_in_override; | ||
728 | } | 729 | } |
729 | 730 | ||
730 | /** | 731 | /** |