Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Adrian Hunter and committed by
Ulf Hansson
4a035a41 774caef5

+1 -1
+1 -1
drivers/mmc/host/sdhci-of-esdhc.c
··· 1521 1521 .pm = &esdhc_of_dev_pm_ops, 1522 1522 }, 1523 1523 .probe = sdhci_esdhc_probe, 1524 - .remove_new = sdhci_pltfm_unregister, 1524 + .remove_new = sdhci_pltfm_remove, 1525 1525 }; 1526 1526 1527 1527 module_platform_driver(sdhci_esdhc_driver);