tty: amba-pl011: add register accessor functions
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 3 Nov 2015 14:50:58 +0000 (14:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000 (19:59 -0800)
commit7583633921d54f33e96b65569a0c980ae1d05dba
tree635d50216e4b836d67040f00a8b45c5bd5b3f89b
parentbd94c4077a0b2ecc35562c294f80f3659ecd8499
tty: amba-pl011: add register accessor functions

Add register accessor functions to amba-pl011.  Much of this
transformation was done using the sed expression below, with any
left-overs fixed up manually afterwards, and code formatted to remain
within coding style.

s/readw(\(uap->port.membase\|regs\|port->membase\) +/pl011_read(\1,/g
s/writew(\(.*\) +/pl011_write(\1,/g

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c
This page took 0.024438 seconds and 5 git commands to generate.