summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-kai-power.c
diff options
context:
space:
mode:
authorAshwini Ghuge <aghuge@nvidia.com>2012-05-16 16:47:53 +0530
committerSimone Willett <swillett@nvidia.com>2012-06-01 12:11:08 -0700
commit430c036f68ad783b332f8eb6c679862d795a7d30 (patch)
treef62d24bb60b2cae28f8e4d6ed3e6e38b808ba2b5 /arch/arm/mach-tegra/board-kai-power.c
parentccbef621c084776cfc21be93901369a37d273393 (diff)
ARM: tegra: kai: Remove tegra_gpio_enable/disable
Removing tegra_gpio_enable and disable calls from board files as they are supported thorugh set direction calls in the driver Bug 984439 Change-Id: I4ec51c8eb68c373b7cec6903bf52539cd520b227 Reviewed-on: http://git-master/r/102813 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-kai-power.c')
-rw-r--r--arch/arm/mach-tegra/board-kai-power.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-kai-power.c b/arch/arm/mach-tegra/board-kai-power.c
index e89b2bd2246d..22cf7937047e 100644
--- a/arch/arm/mach-tegra/board-kai-power.c
+++ b/arch/arm/mach-tegra/board-kai-power.c
@@ -567,8 +567,6 @@ static int __init kai_fixed_regulator_init(void)
fixed_reg_devs[i]->dev.platform_data;
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);