aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorGravatar Adrian Hunter <adrian.hunter@intel.com> 2023-08-11 16:03:47 +0300
committerGravatar Ulf Hansson <ulf.hansson@linaro.org> 2023-08-15 13:35:48 +0200
commit18ba91ac6d726556026febb7a04dcb248ac3571c (patch)
tree89f81a48e2b456bd652e0034b6486ce83e0cf898 /block
parentmmc: sdhci-of-hlwd: Use sdhci_pltfm_remove() (diff)
downloadlinux-18ba91ac6d726556026febb7a04dcb248ac3571c.tar.gz
linux-18ba91ac6d726556026febb7a04dcb248ac3571c.tar.bz2
linux-18ba91ac6d726556026febb7a04dcb248ac3571c.zip
mmc: sdhci-of-sparx5: Use sdhci_pltfm_remove()
Use sdhci_pltfm_remove() instead of sdhci_pltfm_unregister() so that devm_clk_get_enabled() can be used for pltfm_host->clk. This has the side effect that the order of operations on the error path and remove path is not the same as it was before, but should be safe nevertheless. 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-13-adrian.hunter@intel.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions