diff options
-rw-r--r-- | drivers/mmc/host/sdhci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index ada1a3ea3a87..179ce06eec73 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -3339,9 +3339,6 @@ void sdhci_remove_host(struct sdhci_host *host, int dead) | |||
3339 | 3339 | ||
3340 | tasklet_kill(&host->finish_tasklet); | 3340 | tasklet_kill(&host->finish_tasklet); |
3341 | 3341 | ||
3342 | if (!IS_ERR(mmc->supply.vmmc)) | ||
3343 | regulator_disable(mmc->supply.vmmc); | ||
3344 | |||
3345 | if (!IS_ERR(mmc->supply.vqmmc)) | 3342 | if (!IS_ERR(mmc->supply.vqmmc)) |
3346 | regulator_disable(mmc->supply.vqmmc); | 3343 | regulator_disable(mmc->supply.vqmmc); |
3347 | 3344 | ||