Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297364
b: refs/heads/master
c: 996bc8a
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Chris Ball committed Mar 27, 2012
1 parent f4ce7e6 commit d405198
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5bd99c375e141b8dd12e18c45617158f98920e57
refs/heads/master: 996bc8aebd2cd5b6d4c5d85085f171fa2447f364
4 changes: 0 additions & 4 deletions trunk/drivers/mmc/host/sh_mobile_sdhi.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
goto eclkget;
}

clk_enable(priv->clk);

mmc_data->hclk = clk_get_rate(priv->clk);
mmc_data->set_pwr = sh_mobile_sdhi_set_pwr;
mmc_data->get_cd = sh_mobile_sdhi_get_cd;
Expand Down Expand Up @@ -233,7 +231,6 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
eirq_card_detect:
tmio_mmc_host_remove(host);
eprobe:
clk_disable(priv->clk);
clk_put(priv->clk);
eclkget:
kfree(priv);
Expand All @@ -259,7 +256,6 @@ static int sh_mobile_sdhi_remove(struct platform_device *pdev)
free_irq(irq, host);
}

clk_disable(priv->clk);
clk_put(priv->clk);
kfree(priv);

Expand Down

0 comments on commit d405198

Please sign in to comment.