aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-dove.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci-dove.c')
-rw-r--r--drivers/mmc/host/sdhci-dove.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c
index 2314ff88d942..407c21f152b2 100644
--- a/drivers/mmc/host/sdhci-dove.c
+++ b/drivers/mmc/host/sdhci-dove.c
@@ -108,11 +108,6 @@ err_sdhci_add:
108 return ret; 108 return ret;
109} 109}
110 110
111static int sdhci_dove_remove(struct platform_device *pdev)
112{
113 return sdhci_pltfm_unregister(pdev);
114}
115
116static const struct of_device_id sdhci_dove_of_match_table[] = { 111static const struct of_device_id sdhci_dove_of_match_table[] = {
117 { .compatible = "marvell,dove-sdhci", }, 112 { .compatible = "marvell,dove-sdhci", },
118 {} 113 {}
@@ -126,7 +121,7 @@ static struct platform_driver sdhci_dove_driver = {
126 .of_match_table = sdhci_dove_of_match_table, 121 .of_match_table = sdhci_dove_of_match_table,
127 }, 122 },
128 .probe = sdhci_dove_probe, 123 .probe = sdhci_dove_probe,
129 .remove = sdhci_dove_remove, 124 .remove = sdhci_pltfm_unregister,
130}; 125};
131 126
132module_platform_driver(sdhci_dove_driver); 127module_platform_driver(sdhci_dove_driver);