Skip to content

Commit 4a035a4

Browse files
ahunter6Ulf Hansson
authored andcommitted
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>
1 parent 774caef commit 4a035a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mmc/host/sdhci-of-esdhc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ static struct platform_driver sdhci_esdhc_driver = {
15211521
.pm = &esdhc_of_dev_pm_ops,
15221522
},
15231523
.probe = sdhci_esdhc_probe,
1524-
.remove_new = sdhci_pltfm_unregister,
1524+
.remove_new = sdhci_pltfm_remove,
15251525
};
15261526

15271527
module_platform_driver(sdhci_esdhc_driver);

0 commit comments

Comments
 (0)