|
@@ -247,11 +247,6 @@ err:
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|
|
-static int sdhci_iproc_remove(struct platform_device *pdev)
|
|
|
|
-{
|
|
|
|
- return sdhci_pltfm_unregister(pdev);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static struct platform_driver sdhci_iproc_driver = {
|
|
static struct platform_driver sdhci_iproc_driver = {
|
|
.driver = {
|
|
.driver = {
|
|
.name = "sdhci-iproc",
|
|
.name = "sdhci-iproc",
|
|
@@ -259,7 +254,7 @@ static struct platform_driver sdhci_iproc_driver = {
|
|
.pm = SDHCI_PLTFM_PMOPS,
|
|
.pm = SDHCI_PLTFM_PMOPS,
|
|
},
|
|
},
|
|
.probe = sdhci_iproc_probe,
|
|
.probe = sdhci_iproc_probe,
|
|
- .remove = sdhci_iproc_remove,
|
|
|
|
|
|
+ .remove = sdhci_pltfm_unregister,
|
|
};
|
|
};
|
|
module_platform_driver(sdhci_iproc_driver);
|
|
module_platform_driver(sdhci_iproc_driver);
|
|
|
|
|