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

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>

authored by

Adrian Hunter and committed by
Ulf Hansson
080b5adf 584259d4

+1 -1
+1 -1
drivers/mmc/host/sdhci_f_sdh30.c
··· 214 214 struct reset_control *rst = priv->rst; 215 215 struct clk *clk = priv->clk; 216 216 217 - sdhci_pltfm_unregister(pdev); 217 + sdhci_pltfm_remove(pdev); 218 218 219 219 reset_control_assert(rst); 220 220 clk_disable_unprepare(clk);