summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise-sdhci.c
diff options
context:
space:
mode:
authorAshwini Ghuge <aghuge@nvidia.com>2012-06-05 10:32:36 +0530
committerSimone Willett <swillett@nvidia.com>2012-06-07 13:35:58 -0700
commitff445fc9ec43b59642c0dc81a66146cdbc3adbaf (patch)
tree3fc8e8bc6f36a20659a55f45a1cc4c29b6887dcd /arch/arm/mach-tegra/board-enterprise-sdhci.c
parent08139881d07bec1f0e419c0e49f10b84250ebc21 (diff)
ARM: tegra: enterprise: Remove tegra_gpio_enb/dis
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: I011fc1ec52b31b1b0602d577f02a6d20f37e402d Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com> Reviewed-on: http://git-master/r/102773 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-sdhci.c')
-rw-r--r--arch/arm/mach-tegra/board-enterprise-sdhci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-sdhci.c b/arch/arm/mach-tegra/board-enterprise-sdhci.c
index 4e9690899082..7a5632601fe6 100644
--- a/arch/arm/mach-tegra/board-enterprise-sdhci.c
+++ b/arch/arm/mach-tegra/board-enterprise-sdhci.c
@@ -264,10 +264,6 @@ static int __init enterprise_wifi_init(void)
if (rc)
pr_err("WLAN_WOW gpio request failed:%d\n", rc);
- tegra_gpio_enable(ENTERPRISE_WLAN_PWR);
- tegra_gpio_enable(ENTERPRISE_WLAN_RST);
- tegra_gpio_enable(ENTERPRISE_WLAN_WOW);
-
rc = gpio_direction_output(ENTERPRISE_WLAN_PWR, 0);
if (rc)
pr_err("WLAN_PWR gpio direction configuration failed:%d\n", rc);
@@ -286,7 +282,6 @@ int __init enterprise_sdhci_init(void)
{
platform_device_register(&tegra_sdhci_device3);
- tegra_gpio_enable(ENTERPRISE_SD_CD);
tegra_sdhci_platform_data2.cd_gpio = ENTERPRISE_SD_CD;
platform_device_register(&tegra_sdhci_device2);