]> git.itanic.dy.fi Git - linux-stable/commitdiff
mmc: sdhci-of-hlwd: Use sdhci_pltfm_remove()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 11 Aug 2023 13:03:46 +0000 (16:03 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 15 Aug 2023 11:35:45 +0000 (13:35 +0200)
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-12-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-hlwd.c

index cba3ba48e9dc82e65ef3acdd3caba3c97a9f8753..06e88bb22ea5a62aa7a39760abd88f179e4ada4f 100644 (file)
@@ -85,7 +85,7 @@ static struct platform_driver sdhci_hlwd_driver = {
                .pm = &sdhci_pltfm_pmops,
        },
        .probe = sdhci_hlwd_probe,
-       .remove_new = sdhci_pltfm_unregister,
+       .remove_new = sdhci_pltfm_remove,
 };
 
 module_platform_driver(sdhci_hlwd_driver);