ARM: tegra: cardhu: Remove tegra_gpio_enb/disable
[linux-2.6.git] / arch / arm / mach-tegra / board-cardhu-pm298-power-rails.c
index 0305ee7..f0dc8af 100644 (file)
@@ -698,12 +698,5 @@ int __init cardhu_pm298_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);
 }