ARM: tegra: seaboard: Don't gpio_request() ISL29018_IRQ
authorStephen Warren <swarren@nvidia.com>
Mon, 19 Mar 2012 16:24:41 +0000 (10:24 -0600)
committerStephen Warren <swarren@nvidia.com>
Wed, 18 Apr 2012 16:26:38 +0000 (10:26 -0600)
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>
arch/arm/mach-tegra/board-seaboard.c

index 6fa8c3d0f76e0dc47dfdd836f2d223de31d7e33e..59987540df196533afeafcac6bba32d427ab6b16 100644 (file)
@@ -200,9 +200,6 @@ static int seaboard_ehci_init(void)
 
 static void __init seaboard_i2c_init(void)
 {
-       gpio_request(TEGRA_GPIO_ISL29018_IRQ, "isl29018");
-       gpio_direction_input(TEGRA_GPIO_ISL29018_IRQ);
-
        isl29018_device.irq = gpio_to_irq(TEGRA_GPIO_ISL29018_IRQ);
        i2c_register_board_info(0, &isl29018_device, 1);