mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 18:08:20 +00:00
mmc: sdhci-of-esdhc: Use sdhci_pltfm_remove()
Use sdhci_pltfm_remove() instead of sdhci_pltfm_unregister() because sdhci_pltfm_unregister() is going to be removed. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230811130351.7038-11-adrian.hunter@intel.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
774caef5df
commit
4a035a41df
@ -1521,7 +1521,7 @@ static struct platform_driver sdhci_esdhc_driver = {
|
||||
.pm = &esdhc_of_dev_pm_ops,
|
||||
},
|
||||
.probe = sdhci_esdhc_probe,
|
||||
.remove_new = sdhci_pltfm_unregister,
|
||||
.remove_new = sdhci_pltfm_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(sdhci_esdhc_driver);
|
||||
|
Loading…
x
Reference in New Issue
Block a user