aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/mmc/host/sdhci-pltfm.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-08-30 09:23:12 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2016-09-26 21:31:16 +0200
commit92add82e0ce0946d7aa6f2ae71cd160d914d2f48 (patch)
tree489a1c2309737cee9ba544c057eb32f132de390f /drivers/mmc/host/sdhci-pltfm.c
parentmmc: sdhci-pci: Convert to use managed functions (part2) (diff)
downloadwireguard-linux-92add82e0ce0946d7aa6f2ae71cd160d914d2f48.tar.xz
wireguard-linux-92add82e0ce0946d7aa6f2ae71cd160d914d2f48.zip
mmc: sdhci: Remove ->platform_init() callback as it's no longer used
The commit 1ef5e49e46b9 ("mmc: sdhci-of-esdhc: add/remove some quirks according to vendor version") moved sdhci-of-esdhc away from using the ->platform_init() callback. As it was the only user of it and that it seems reasonable to believe that it won't be needed again, let's just remove it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Diffstat (limited to 'drivers/mmc/host/sdhci-pltfm.c')
-rw-r--r--drivers/mmc/host/sdhci-pltfm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c
index 1d17dcfc3ffb..ad49bfaf5bf8 100644
--- a/drivers/mmc/host/sdhci-pltfm.c
+++ b/drivers/mmc/host/sdhci-pltfm.c
@@ -156,13 +156,6 @@ struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev,
host->quirks2 = pdata->quirks2;
}
- /*
- * Some platforms need to probe the controller to be able to
- * determine which caps should be used.
- */
- if (host->ops && host->ops->platform_init)
- host->ops->platform_init(host);
-
platform_set_drvdata(pdev, host);
return host;