diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-03-08 12:22:48 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-04-07 10:31:32 +0200 |
commit | 2f6916f12c0e46ecd4c2b793a014132140730560 (patch) | |
tree | 2d0e8b262d1935049f8e1e4f6487caf837d8a1b6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f1d2427cb458fd8ecb709c27f43088d6e250a7aa (diff) |
thermal/drivers/rockchip: Simplify clock logic
By using devm_clk_get_enabled() the clock acquisition and
enabling can be done in one step with automatic error
handling.
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230308112253.15659-3-sebastian.reichel@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions