diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-03-31 15:34:10 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-05-02 10:33:18 +0200 |
commit | 2edeb8540bc21247906e13ad2a08317d6fa410e7 (patch) | |
tree | 7e1d52e514abdeb3b94d3258bea7356a6ecd4055 /drivers/mmc/host/dw_mmc.c | |
parent | 7c2c2cc8f909f76965c0d79b04a111ee2b01d63f (diff) | |
download | op-kernel-dev-2edeb8540bc21247906e13ad2a08317d6fa410e7.zip op-kernel-dev-2edeb8540bc21247906e13ad2a08317d6fa410e7.tar.gz |
mmc: dw_mmc: remove setup_clock callback
Now, no dw_mmc variant drivers use this callback, let's
remove it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 45a406f..9dd1bd3 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -3003,15 +3003,6 @@ int dw_mci_probe(struct dw_mci *host) } } - if (drv_data && drv_data->setup_clock) { - ret = drv_data->setup_clock(host); - if (ret) { - dev_err(host->dev, - "implementation specific clock setup failed\n"); - goto err_clk_ciu; - } - } - setup_timer(&host->cmd11_timer, dw_mci_cmd11_timer, (unsigned long)host); |