ARM: gpio: consolidate gpio_to_irq
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 26 Jul 2011 10:29:42 +0000 (11:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Aug 2011 07:54:05 +0000 (08:54 +0100)
commit01e7dc89d060413fd639635618de506093730964
tree4fd1f5563c3446155e18fe76d4789ca6fe17b791
parent22fe67837614469f8e86c97e9e43d46270701b33
ARM: gpio: consolidate gpio_to_irq

Many of the gpio_to_irq implementations use the gpiolib version of this
function.  Provide the standard gpiolib gpio_to_irq() for everyone, but
allow platforms to override it if they wish.  Add the neccessary
overrides for those platforms which do not use the standard definition.

Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
24 files changed:
arch/arm/include/asm/gpio.h
arch/arm/mach-davinci/include/mach/gpio.h
arch/arm/mach-exynos4/include/mach/gpio.h
arch/arm/mach-ixp4xx/include/mach/gpio.h
arch/arm/mach-ks8695/include/mach/gpio.h
arch/arm/mach-lpc32xx/include/mach/gpio.h
arch/arm/mach-msm/include/mach/gpio.h
arch/arm/mach-mxs/include/mach/gpio.h
arch/arm/mach-realview/include/mach/gpio.h
arch/arm/mach-s3c2410/include/mach/gpio.h
arch/arm/mach-s3c64xx/include/mach/gpio.h
arch/arm/mach-s5p64x0/include/mach/gpio.h
arch/arm/mach-s5pc100/include/mach/gpio.h
arch/arm/mach-s5pv210/include/mach/gpio.h
arch/arm/mach-shmobile/include/mach/gpio.h
arch/arm/mach-tegra/include/mach/gpio.h
arch/arm/mach-u300/include/mach/gpio.h
arch/arm/mach-versatile/include/mach/gpio.h
arch/arm/mach-vt8500/include/mach/gpio.h
arch/arm/mach-w90x900/include/mach/gpio.h
arch/arm/plat-nomadik/include/plat/gpio.h
arch/arm/plat-omap/include/plat/gpio.h
arch/arm/plat-orion/include/plat/gpio.h
arch/arm/plat-spear/include/plat/gpio.h