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

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>

authored by

Adrian Hunter and committed by
Ulf Hansson
774caef5 ef1c3a7e

+1 -1
+1 -1
drivers/mmc/host/sdhci-of-at91.c
··· 456 456 pm_runtime_disable(&pdev->dev); 457 457 pm_runtime_put_noidle(&pdev->dev); 458 458 459 - sdhci_pltfm_unregister(pdev); 459 + sdhci_pltfm_remove(pdev); 460 460 461 461 clk_disable_unprepare(gck); 462 462 clk_disable_unprepare(hclock);