of/irq: Create of_irq_parse_and_map_pci() to consolidate arch code.
authorGrant Likely <grant.likely@linaro.org>
Thu, 19 Sep 2013 21:44:55 +0000 (16:44 -0500)
committerGrant Likely <grant.likely@linaro.org>
Thu, 24 Oct 2013 10:50:36 +0000 (11:50 +0100)
commit16b84e5a505c790538e534ad8dfda9c288691e40
tree887e4da0c9cdf408350230165cf72730cec599e6
parentf7578496a671a96e501f16a5104893275e32c33a
of/irq: Create of_irq_parse_and_map_pci() to consolidate arch code.

Several architectures open code effectively the same code block for
finding and mapping PCI irqs. This patch consolidates it down to a
single function.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Michal Simek <monstr@monstr.eu>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/arm/mach-integrator/pci_v3.c
arch/mips/pci/fixup-lantiq.c
arch/mips/pci/pci-rt3883.c
arch/x86/kernel/devicetree.c
drivers/of/of_pci_irq.c
drivers/pci/host/pci-mvebu.c
include/linux/of_pci.h