summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRong Qianfeng <rongqianfeng@vivo.com>2024-08-27 11:48:40 +0800
committerAndi Shyti <andi.shyti@kernel.org>2024-09-10 00:36:48 +0200
commit12729039bd88b563a6c4e88706c0915928c92825 (patch)
tree8c6eb68a7dc6e0b1e057bbdcebb5dd3255462abe /tools/perf/scripts/python/task-analyzer.py
parentf1f3dd1a0aae92851d5a9edd7f6896554020d610 (diff)
i2c: jz4780: Use devm_clk_get_enabled() helpers
The devm_clk_get_enabled() helpers: - call devm_clk_get() - call clk_prepare_enable() and register what is needed in order to call clk_disable_unprepare() when needed, as a managed resource. This simplifies the code and avoids the calls to clk_disable_unprepare(). While at it, no more special handling needed here, remove the goto label "err:". Signed-off-by: Rong Qianfeng <rongqianfeng@vivo.com> Acked-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions