Skip to content

Commit

Permalink
serial: xuartps: Get rid of register access macros.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Betker authored and Greg Kroah-Hartman committed Mar 26, 2015
1 parent 0c39a46 commit 19f22ef
Showing 1 changed file with 118 additions and 112 deletions.
Loading

0 comments on commit 19f22ef

Please sign in to comment.