diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-07-31 14:57:22 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-02 18:03:00 -0700 |
commit | 31912a0240cc80821ee6ecb8f25ea146178244d6 (patch) | |
tree | 590029c931cbd20764ca5ac237176d7a88a3f098 | |
parent | 7959a57736fcf356ca9c1cbc8031cb8f697b9f2b (diff) |
ARM: tegra: p1852: get rid of tegra_gpio_enable()
The gpio mode of pin is configured when setting
direction and hence this call is no more required.
Change-Id: Ie3ae3375348cd8cbe94b14bd5ce3a861d73cc30c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119610
Reviewed-by: Automatic_Commit_Validation_User
-rw-r--r-- | arch/arm/mach-tegra/board-p1852.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-p1852.c b/arch/arm/mach-tegra/board-p1852.c index 229344799112..aefc21774a7d 100644 --- a/arch/arm/mach-tegra/board-p1852.c +++ b/arch/arm/mach-tegra/board-p1852.c @@ -457,9 +457,6 @@ static __initdata struct tegra_clk_init_table spi_clk_init_table[] = { static int __init p1852_touch_init(void) { - tegra_gpio_enable(TOUCH_GPIO_IRQ_ATMEL_T9); - tegra_gpio_enable(TOUCH_GPIO_RST_ATMEL_T9); - gpio_request(TOUCH_GPIO_IRQ_ATMEL_T9, "atmel-irq"); gpio_direction_input(TOUCH_GPIO_IRQ_ATMEL_T9); |