serial: xuartps: Get rid of register access macros.
authorThomas Betker <thomas.betker@rohde-schwarz.com>
Thu, 12 Mar 2015 21:11:59 +0000 (22:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 21:54:07 +0000 (22:54 +0100)
commit19f22efdb653642814e6c8710fca974c1dbe7cfa
treee5695d020b322af53a880a48043142f906fc0849
parent0c39a467e7ba68a0d94439c1ebe260dc5b26302b
serial: xuartps: Get rid of register access macros.

Get rid of cdns_uart_readl() and cdns_uart_writel() and just call
readl() and writel() directly.

Most of the patch was created by search-and-replace (I had to convert a
few lines manually, and break some lines longer than 80 columns):
* s/cdns_uart_readl(/readl(port->membase + /g
* s/cdns_uart_writel(\([^,]*\),/writel(\1, port->membase +/g

Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c