ARM: tegra: cardhu: Remove tegra_gpio_enb/disable
[linux-2.6.git] / arch / arm / mach-tegra / board-cardhu-power.c
index 79d8d61..587a8c4 100644 (file)
@@ -1072,13 +1072,6 @@ int __init cardhu_fixed_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);
 }
 subsys_initcall_sync(cardhu_fixed_regulator_init);