diff options
author | Kevin Hao <haokexin@gmail.com> | 2015-02-27 15:47:30 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-03-23 14:13:34 +0100 |
commit | 83eacdfa2529b4ee97fe16a3a3a41d1b03465e13 (patch) | |
tree | 282158f8efb849008b2a68c987af7abf6473b7e9 /drivers/mmc/host/sdhci-st.c | |
parent | 2290fcb341a07cc22c0f7f7d529c137a78039cdf (diff) | |
download | blackbird-obmc-linux-83eacdfa2529b4ee97fe16a3a3a41d1b03465e13.tar.gz blackbird-obmc-linux-83eacdfa2529b4ee97fe16a3a3a41d1b03465e13.zip |
mmc: sdhci: disable the clock in sdhci_pltfm_unregister()
So we can avoid to sprinkle the clk_disable_unprepare() in many
drivers.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-st.c')
-rw-r--r-- | drivers/mmc/host/sdhci-st.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/host/sdhci-st.c b/drivers/mmc/host/sdhci-st.c index 882b07e9667e..0019df452522 100644 --- a/drivers/mmc/host/sdhci-st.c +++ b/drivers/mmc/host/sdhci-st.c @@ -115,11 +115,6 @@ err_of: static int sdhci_st_remove(struct platform_device *pdev) { - struct sdhci_host *host = platform_get_drvdata(pdev); - struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); - - clk_disable_unprepare(pltfm_host->clk); - return sdhci_pltfm_unregister(pdev); } |