Skip to content

Commit 774caef

Browse files
ahunter6Ulf Hansson
authored andcommitted
mmc: sdhci-of-at91: 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-10-adrian.hunter@intel.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent ef1c3a7 commit 774caef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ static void sdhci_at91_remove(struct platform_device *pdev)
456456
pm_runtime_disable(&pdev->dev);
457457
pm_runtime_put_noidle(&pdev->dev);
458458

459-
sdhci_pltfm_unregister(pdev);
459+
sdhci_pltfm_remove(pdev);
460460

461461
clk_disable_unprepare(gck);
462462
clk_disable_unprepare(hclock);

0 commit comments

Comments
 (0)