serial/arc: Refactor by referencing to uart_port where possible
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Tue, 24 Jun 2014 08:25:07 +0000 (13:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 22:43:27 +0000 (15:43 -0700)
commit12d15e6f6377fe46b1f9dc51133890a732f1ae05
tree0b15e413389fc91f461fa029fc7f5a734e2a7d3b
parent3bce1b70d6f2cdb83c9323c553b2336974b8516f
serial/arc: Refactor by referencing to uart_port where possible

The ARC UART MMIO helpers would take arc_uart_port and then reference
generic uart_port->membase member. So change them to difrectly refer to
uart_port and fix call sites accordingly.

This removes the need for to_arc_port() converion almost eveeywhere and
makes code a bit easier to read.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/arc_uart.c