summaryrefslogtreecommitdiff
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2023-08-11 16:03:42 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2023-08-15 14:35:32 +0300
commit3f3771341e4e2396232025e3f39875f3c0cdb039 (patch)
tree6dbfdf9c4b125231edf4e9422a642fc7b24a0d0c /mm/swapfile.c
parent080b5adf986de6bf95e2401ab5ed18a777cc19da (diff)
downloadlinux-3f3771341e4e2396232025e3f39875f3c0cdb039.tar.xz
mmc: sdhci-iproc: 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-8-adrian.hunter@intel.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions