OSDN Git Service

ARM: tegra: Remove use of TEGRA_GPIO_TO_IRQ
authorStephen Warren <swarren@nvidia.com>
Wed, 4 Jan 2012 08:39:33 +0000 (08:39 +0000)
committerOlof Johansson <olof@lixom.net>
Tue, 7 Feb 2012 02:25:00 +0000 (18:25 -0800)
commit2123552d12168e744271aaf206e5826760fbd857
tree3f873ccaa1461fbd85266ad91135395069541880
parent6d7d7b3ecd20a0fbcebdbdffe7b25d94cfa37d93
ARM: tegra: Remove use of TEGRA_GPIO_TO_IRQ

Replace compile-time usage of TEGRA_GPIO_TO_IRQ with run-time calls to
gpio_to_irq(). This will allow the base IRQ number for the Tegra GPIO
driver to be dynamically allocated in a later patch.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/board-harmony.c
arch/arm/mach-tegra/board-seaboard.c