diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2012-02-10 17:37:41 -0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-18 10:58:30 -0800 |
commit | 09041edc214ed1d0155e292e44bbbb0e6994e797 (patch) | |
tree | 86ccd2b35ca4933b1c86a27d8f3ce5d8ae168b42 /arch/arm/mach-tegra/board-whistler-sensors.c | |
parent | a5fcda903c132124873ae0a965c1fd81789aa31a (diff) |
hwmon: adt7461: Remove usage of irq_to_gpio
This API is being removed in v3.2
Change-Id: I3d864dabd2273e737604776aa43c45a64eae90b3
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83561
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-sensors.c')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler-sensors.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-sensors.c b/arch/arm/mach-tegra/board-whistler-sensors.c index 5177770f4cbe..95bb2f1dd405 100644 --- a/arch/arm/mach-tegra/board-whistler-sensors.c +++ b/arch/arm/mach-tegra/board-whistler-sensors.c @@ -319,8 +319,6 @@ static struct i2c_board_info whistler_i2c1_board_info[] = { static void whistler_adt7461_init(void) { tegra_gpio_enable(ADT7461_IRQ_GPIO); - gpio_request(ADT7461_IRQ_GPIO, "adt7461"); - gpio_direction_input(ADT7461_IRQ_GPIO); } static struct adt7461_platform_data whistler_adt7461_pdata = { @@ -334,6 +332,7 @@ static struct adt7461_platform_data whistler_adt7461_pdata = { .shutdown_local_limit = 120, .throttling_ext_limit = 90, .alarm_fn = tegra_throttling_enable, + .irq_gpio = ADT7461_IRQ_GPIO, }; static struct i2c_board_info whistler_i2c4_board_info[] = { |