diff options
author | 2024-08-20 17:46:03 +0800 | |
---|---|---|
committer | 2024-09-06 14:49:20 +0200 | |
commit | 414b2fb4bb5aa09f39262c24ed90b831d18ff984 (patch) | |
tree | 5f0d5cc18bc90e41aaa4bf6cc358c80fecf90387 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86:intel/pmc: Enable the ACPI PM Timer to be turned off when suspended (diff) | |
download | wireguard-linux-414b2fb4bb5aa09f39262c24ed90b831d18ff984.tar.xz wireguard-linux-414b2fb4bb5aa09f39262c24ed90b831d18ff984.zip |
clocksource/drivers/ingenic: 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().
Signed-off-by: Huan Yang <link@vivo.com>
Link: https://lore.kernel.org/r/20240820094603.103598-1-link@vivo.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions