serial: amba-pl011: Use container_of() to get uart_amba_port
authorDaniel Thompson <daniel.thompson@linaro.org>
Wed, 3 Sep 2014 11:51:55 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 23:26:07 +0000 (16:26 -0700)
commita5820c24a817e7bbebf5c4366989d5f243b809ab
tree54f50d573caa7b42e7fc84721d717c05951ebca4
parent26c474128b96d277234f35a7fd870ed12bef96ca
serial: amba-pl011: Use container_of() to get uart_amba_port

Universally adopt container_of() for all pointer conversion from
uart_port to uart_amba_port.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c