diff options
author | Kang Chen <void0red@hust.edu.cn> | 2023-04-19 05:07:49 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-04-26 11:38:34 +0300 |
commit | a3e9a9a5971164933e0d247125897c2e54587c6b (patch) | |
tree | e0a27f80b6cc3f80535dd3b7c485b6d27e1d374a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f05c7b7d9ea9477fcc388476c6f4ade8c66d2d26 (diff) | |
download | linux-a3e9a9a5971164933e0d247125897c2e54587c6b.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions