aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorGravatar Adrian Hunter <adrian.hunter@intel.com> 2023-08-11 16:03:41 +0300
committerGravatar Ulf Hansson <ulf.hansson@linaro.org> 2023-08-15 13:35:27 +0200
commit080b5adf986de6bf95e2401ab5ed18a777cc19da (patch)
treeebc3169467c6e105a0e08071bb60ff39d9727319 /drivers/mmc
parentmmc: sdhci-dove: Use sdhci_pltfm_remove() (diff)
downloadlinux-080b5adf986de6bf95e2401ab5ed18a777cc19da.tar.gz
linux-080b5adf986de6bf95e2401ab5ed18a777cc19da.tar.bz2
linux-080b5adf986de6bf95e2401ab5ed18a777cc19da.zip
mmc: sdhci_f_sdh30: 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-7-adrian.hunter@intel.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci_f_sdh30.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci_f_sdh30.c b/drivers/mmc/host/sdhci_f_sdh30.c
index 47ae853f51aa..c58e7cb1e2a7 100644
--- a/drivers/mmc/host/sdhci_f_sdh30.c
+++ b/drivers/mmc/host/sdhci_f_sdh30.c
@@ -214,7 +214,7 @@ static void sdhci_f_sdh30_remove(struct platform_device *pdev)
struct reset_control *rst = priv->rst;
struct clk *clk = priv->clk;
- sdhci_pltfm_unregister(pdev);
+ sdhci_pltfm_remove(pdev);
reset_control_assert(rst);
clk_disable_unprepare(clk);