drivers: PL011: refactor pl011_shutdown()
authorAndre Przywara <andre.przywara@arm.com>
Thu, 21 May 2015 16:26:16 +0000 (17:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 20:08:50 +0000 (13:08 -0700)
commit95166a3fd5dc1f06321abb28b5713afd2bcc87c4
tree99fb1aef442127db44ae5b161dfc29f9a34488c7
parent867b8e8e89f2f72882d267be3e035978fdd45a4a
drivers: PL011: refactor pl011_shutdown()

Split the pl011_shutdown() function into smaller chunks to allow
easier reuse later when adding SBSA support.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Mark Langsdorf <mlangsdo@redhat.com>
Tested-by: Naresh Bhat <nbhat@cavium.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c