diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-08-08 19:16:16 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-10 23:16:14 -0700 |
commit | b548449f736bab9aef88a237841bf576e23040ad (patch) | |
tree | 0d0b71651c31d62060b39017eb004ae46601c79e | |
parent | fcf88f1041f77d246b3a3be18ff3c049be4fd25f (diff) |
ARM: tegra: enterprise: get rid of tegra_gpio_disable()
The gpio mode is enabled when setting direction and
disabled when freeing gpio and hence this call is no
more required.
Change-Id: Ib384ec9295184ee6d3b2edcf76b0c99bcd28e25a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/122117
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-panel.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-panel.c b/arch/arm/mach-tegra/board-enterprise-panel.c index 00b8b29c8318..366bf921393d 100644 --- a/arch/arm/mach-tegra/board-enterprise-panel.c +++ b/arch/arm/mach-tegra/board-enterprise-panel.c @@ -63,8 +63,6 @@ #define enterprise_lcd_te TEGRA_GPIO_PJ1 -#define enterprise_bl_pwm TEGRA_GPIO_PH3 - #ifdef CONFIG_TEGRA_DC static struct regulator *enterprise_dsi_reg; static bool dsi_regulator_status; @@ -530,10 +528,6 @@ static int enterprise_dsi_panel_enable(void) if (ret) return ret; -#if IS_EXTERNAL_PWM - tegra_gpio_disable(enterprise_bl_pwm); -#endif - #if DSI_PANEL_RESET if (board_info.fab >= BOARD_FAB_A03) { if (enterprise_lcd_reg == NULL) { |