From: Andre Przywara Date: Thu, 21 May 2015 16:26:18 +0000 (+0100) Subject: drivers: PL011: refactor pl011_probe() X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3873e2d7f63a;p=pandora-kernel.git drivers: PL011: refactor pl011_probe() Currently the pl011_probe() function is relying on some AMBA IDs and a device tree node to initialize the driver and a port. Both features are not necessarily required for the driver: - we lack AMBA IDs in the ARM SBSA generic UART and - we lack a DT node in ACPI systems. So lets refactor the function to ease later reuse. Signed-off-by: Andre Przywara Tested-by: Mark Langsdorf Tested-by: Naresh Bhat Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed