aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r--drivers/mmc/host/sdhci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index e1e7b12f496..ee183c57a08 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -50,7 +50,6 @@ static void sdhci_finish_command(struct sdhci_host *);
static void sdhci_clk_worker(struct work_struct *work)
{
- unsigned long flags;
struct sdhci_host *host =
container_of(work, struct sdhci_host, clk_worker.work);
@@ -1751,7 +1750,7 @@ int sdhci_resume_host(struct sdhci_host *host)
int ret;
if (host->vmmc) {
- int ret = regulator_enable(host->vmmc);
+ ret = regulator_enable(host->vmmc);
if (ret)
goto out;
}