of/irq: Rename of_irq_map_* functions to of_irq_parse_*
authorGrant Likely <grant.likely@linaro.org>
Thu, 19 Sep 2013 16:22:36 +0000 (11:22 -0500)
committerGrant Likely <grant.likely@linaro.org>
Thu, 24 Oct 2013 10:40:59 +0000 (11:40 +0100)
commit0c02c8007ea5554d028f99fd3e29fc201fdeeab3
treef9f42756d719023033549c4de5c30650f42a1ba9
parent4a43d686fe336cc0e955c4400ba4d3fcff788786
of/irq: Rename of_irq_map_* functions to of_irq_parse_*

The OF irq handling code has been overloading the term 'map' to refer to
both parsing the data in the device tree and mapping it to the internal
linux irq system. This is probably because the device tree does have the
concept of an 'interrupt-map' function for translating interrupt
references from one node to another, but 'map' is still confusing when
the primary purpose of some of the functions are to parse the DT data.

This patch renames all the of_irq_map_* functions to of_irq_parse_*
which makes it clear that there is a difference between the parsing
phase and the mapping phase. Kernel code can make use of just the
parsing or just the mapping support as needed by the subsystem.

The patch was generated mechanically with a handful of sed commands.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Michal Simek <monstr@monstr.eu>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
20 files changed:
arch/arm/mach-integrator/pci_v3.c
arch/microblaze/pci/pci-common.c
arch/mips/pci/fixup-lantiq.c
arch/mips/pci/pci-rt3883.c
arch/powerpc/kernel/pci-common.c
arch/powerpc/platforms/cell/celleb_scc_pciex.c
arch/powerpc/platforms/cell/celleb_scc_sio.c
arch/powerpc/platforms/cell/spider-pic.c
arch/powerpc/platforms/cell/spu_manage.c
arch/powerpc/platforms/fsl_uli1575.c
arch/powerpc/platforms/powermac/pic.c
arch/powerpc/platforms/pseries/event_sources.c
arch/powerpc/sysdev/mpic_msi.c
arch/x86/kernel/devicetree.c
drivers/of/address.c
drivers/of/irq.c
drivers/of/of_pci_irq.c
drivers/pci/host/pci-mvebu.c
include/linux/of_irq.h
include/linux/of_pci.h