From 74738bbea584783fcf4cf293e0c53ac352e2b1ae Mon Sep 17 00:00:00 2001 From: Ashwini Ghuge Date: Wed, 16 May 2012 17:13:28 +0530 Subject: ARM: tegra: cardhu: Remove tegra_gpio_enb/disable Removing tegra_gpio_enable and disable calls from board files as they are supported through set direction calls in the driver Bug 984439 Change-Id: I51b17389dbb17b0e94e1635ec6d68acd01c743b4 Signed-off-by: Ashwini Ghuge Reviewed-on: http://git-master/r/102529 Reviewed-by: Simone Willett Tested-by: Simone Willett --- arch/arm/mach-tegra/board-cardhu-pm299-power-rails.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'arch/arm/mach-tegra/board-cardhu-pm299-power-rails.c') diff --git a/arch/arm/mach-tegra/board-cardhu-pm299-power-rails.c b/arch/arm/mach-tegra/board-cardhu-pm299-power-rails.c index 0c55aa49acc0..6d4db73b6ecd 100644 --- a/arch/arm/mach-tegra/board-cardhu-pm299-power-rails.c +++ b/arch/arm/mach-tegra/board-cardhu-pm299-power-rails.c @@ -688,12 +688,5 @@ int __init cardhu_pm299_gpio_switch_regulator_init(void) break; } - for (i = 0; i < nfixreg_devs; ++i) { - struct fixed_voltage_config *fixed_reg_pdata = - fixed_reg_devs[i]->dev.platform_data; - int gpio_nr = fixed_reg_pdata->gpio; - if (gpio_nr < TEGRA_NR_GPIOS) - tegra_gpio_enable(gpio_nr); - } return platform_add_devices(fixed_reg_devs, nfixreg_devs); } -- cgit v1.2.3