diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-07-31 14:56:22 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-02 18:02:55 -0700 |
commit | 7959a57736fcf356ca9c1cbc8031cb8f697b9f2b (patch) | |
tree | 4d175b907e8408bb2ee270324ade77927aae363c /arch/arm/mach-tegra/board-ventana.c | |
parent | 4361257643046dc507deb8b7a0b49401ecb51c7f (diff) |
ARM: tegra: ventana: 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: I870c361cfcfff949620c0518afb324faeb5879d3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119609
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.c')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c index 4e01850ea40e..64db1c5206e8 100644 --- a/arch/arm/mach-tegra/board-ventana.c +++ b/arch/arm/mach-tegra/board-ventana.c @@ -424,9 +424,6 @@ static struct i2c_board_info __initdata i2c_info[] = { static int __init ventana_touch_init_atmel(void) { - tegra_gpio_enable(TEGRA_GPIO_PV6); - tegra_gpio_enable(TEGRA_GPIO_PQ7); - gpio_request(TEGRA_GPIO_PV6, "atmel-irq"); gpio_direction_input(TEGRA_GPIO_PV6); @@ -455,9 +452,6 @@ static struct i2c_board_info __initdata ventana_i2c_bus1_touch_info[] = { static int __init ventana_touch_init_panjit(void) { - tegra_gpio_enable(TEGRA_GPIO_PV6); - - tegra_gpio_enable(TEGRA_GPIO_PQ7); i2c_register_board_info(0, ventana_i2c_bus1_touch_info, 1); return 0; @@ -471,7 +465,6 @@ static int __init ventana_gps_init(void) clk_enable(clk32); } - tegra_gpio_enable(TEGRA_GPIO_PZ3); return 0; } @@ -528,9 +521,6 @@ static void ulpi_link_platform_open(void) gpio_request(reset_gpio, "ulpi_phy_reset"); gpio_direction_output(reset_gpio, 0); - tegra_gpio_enable(reset_gpio); - - gpio_direction_output(reset_gpio, 0); msleep(5); gpio_direction_output(reset_gpio, 1); } |