diff options
| author | Kang Chen <[email protected]> | 2023-04-19 02:07:49 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2023-04-26 08:38:34 +0000 |
| commit | a3e9a9a5971164933e0d247125897c2e54587c6b (patch) | |
| tree | e0a27f80b6cc3f80535dd3b7c485b6d27e1d374a /tools/perf/scripts/python/intel-pt-events.py | |
| parent | thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_the... (diff) | |
| download | kernel-a3e9a9a5971164933e0d247125897c2e54587c6b.tar.gz kernel-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 <[email protected]>
Reviewed-by: Dongliang Mu <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
