summaryrefslogtreecommitdiffstats
path: root/include/kunit
diff options
context:
space:
mode:
authorKang Chen <void0red@hust.edu.cn>2023-04-19 04:07:49 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-04-26 10:38:34 +0200
commita3e9a9a5971164933e0d247125897c2e54587c6b (patch)
treee0a27f80b6cc3f80535dd3b7c485b6d27e1d374a /include/kunit
parentthermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_the... (diff)
downloadlinux-a3e9a9a5971164933e0d247125897c2e54587c6b.tar.xz
linux-a3e9a9a5971164933e0d247125897c2e54587c6b.zip
thermal/drivers/mediatek: Change clk_prepare_enable to devm_clk_get_enabled in mtk_thermal_probe
Use devm_clk_get_enabled to do automatic resource management. Meanwhile, remove error handling labels in the probe function and the whole remove function. Signed-off-by: Kang Chen <void0red@hust.edu.cn> Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230419020749.621257-2-void0red@hust.edu.cn
Diffstat (limited to 'include/kunit')
0 files changed, 0 insertions, 0 deletions