diff options
author | 2023-08-11 16:03:44 +0300 | |
---|---|---|
committer | 2023-08-15 13:35:39 +0200 | |
commit | 774caef5dffdfb7f8cb4c27c3da91b9903ea6a6e (patch) | |
tree | a4c64f2c70655dc2e048e4a25811df679ec0723b /drivers/mmc/host | |
parent | mmc: sdhci-of-arasan: Use sdhci_pltfm_remove() (diff) | |
download | linux-774caef5dffdfb7f8cb4c27c3da91b9903ea6a6e.tar.gz linux-774caef5dffdfb7f8cb4c27c3da91b9903ea6a6e.tar.bz2 linux-774caef5dffdfb7f8cb4c27c3da91b9903ea6a6e.zip |
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>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/sdhci-of-at91.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c index db01ea9fa203..23a9faad2ff8 100644 --- a/drivers/mmc/host/sdhci-of-at91.c +++ b/drivers/mmc/host/sdhci-of-at91.c @@ -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); |