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>
Этот коммит содержится в:
Russell King
2011-07-26 11:29:42 +01:00
родитель 22fe678376
Коммит 01e7dc89d0
24 изменённых файлов: 13 добавлений и 42 удалений

Просмотреть файл

@@ -1,2 +1 @@
#define __ARM_GPIOLIB_TRIVIAL
#define gpio_to_irq __gpio_to_irq