summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKang Chen <void0red@hust.edu.cn>2023-04-19 10:07:49 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-04-26 10:38:34 +0200
commita3e9a9a5971164933e0d247125897c2e54587c6b (patch)
treee0a27f80b6cc3f80535dd3b7c485b6d27e1d374a /scripts/gdb/linux/utils.py
parentf05c7b7d9ea9477fcc388476c6f4ade8c66d2d26 (diff)
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions