From b548449f736bab9aef88a237841bf576e23040ad Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 8 Aug 2012 19:16:16 +0530 Subject: 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 Reviewed-on: http://git-master/r/122117 Reviewed-by: Bitan Biswas --- arch/arm/mach-tegra/board-enterprise-panel.c | 6 ------ 1 file changed, 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) { -- cgit v1.2.3