diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-03-19 12:24:41 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-04-18 12:26:38 -0400 |
commit | c61b3da0aca4cccb1dca757eb94e443faba4e88f (patch) | |
tree | acd4fd0fb674b377abe2b31270b885b0ea712a1f /arch/arm/mach-tegra | |
parent | d941136fc6ead10a7ff319bad199869b593962c5 (diff) |
ARM: tegra: seaboard: Don't gpio_request() ISL29018_IRQ
Don't call gpio_request() or gpio_direction_input() for ISL29018_IRQ.
This pin is only used as an IRQ, and hence no GPIO configuration should
be necessary; the GPIO/IRQ driver should (and does) perform any required
setup when the IRQ is requested.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/board-seaboard.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-seaboard.c b/arch/arm/mach-tegra/board-seaboard.c index 6fa8c3d0f76e..59987540df19 100644 --- a/arch/arm/mach-tegra/board-seaboard.c +++ b/arch/arm/mach-tegra/board-seaboard.c | |||
@@ -200,9 +200,6 @@ static int seaboard_ehci_init(void) | |||
200 | 200 | ||
201 | static void __init seaboard_i2c_init(void) | 201 | static void __init seaboard_i2c_init(void) |
202 | { | 202 | { |
203 | gpio_request(TEGRA_GPIO_ISL29018_IRQ, "isl29018"); | ||
204 | gpio_direction_input(TEGRA_GPIO_ISL29018_IRQ); | ||
205 | |||
206 | isl29018_device.irq = gpio_to_irq(TEGRA_GPIO_ISL29018_IRQ); | 203 | isl29018_device.irq = gpio_to_irq(TEGRA_GPIO_ISL29018_IRQ); |
207 | i2c_register_board_info(0, &isl29018_device, 1); | 204 | i2c_register_board_info(0, &isl29018_device, 1); |
208 | 205 | ||