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

index db01ea9fa203456441d02e12494f8740bf9ce9ee..23a9faad2ff81d68883a6bc67b3cb085787b2d56 100644 (file)
@@ -456,7 +456,7 @@ static void sdhci_at91_remove(struct platform_device *pdev)
        pm_runtime_disable(&pdev->dev);
        pm_runtime_put_noidle(&pdev->dev);
 
-       sdhci_pltfm_unregister(pdev);
+       sdhci_pltfm_remove(pdev);
 
        clk_disable_unprepare(gck);
        clk_disable_unprepare(hclock);