diff options
author | Cristian Ciocaltea <[email protected]> | 2024-08-13 00:23:21 +0300 |
---|---|---|
committer | Robert Foss <[email protected]> | 2024-08-19 15:25:19 +0200 |
commit | 737ad3776343f6fcffee9d0d849dcd6f6b25f05a (patch) | |
tree | f92f208e7f654d6cd1d06a42ff45fef99375f5ed /tools/perf/scripts/python | |
parent | fe828fbd87786238b30f44cafd698d975d956c97 (diff) |
drm/bridge: dw-hdmi: Simplify clock handling
Make use of devm_clk_get_enabled() to replace devm_clk_get() and
clk_prepare_enable() for isfr and iahb clocks, and drop the now
unnecessary calls to clk_disable_unprepare().
Similarly, use devm_clk_get_optional_enabled() helper for cec clock,
which additionally allows to remove the -ENOENT test.
Moreover, the clock related members of struct dw_hdmi are not required
anymore, hence drop them.
Signed-off-by: Cristian Ciocaltea <[email protected]>
Reviewed-by: Robert Foss <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions