diff options
| author | Huan Yang <[email protected]> | 2024-08-20 09:46:03 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2024-09-06 12:49:20 +0000 |
| commit | 414b2fb4bb5aa09f39262c24ed90b831d18ff984 (patch) | |
| tree | 5f0d5cc18bc90e41aaa4bf6cc358c80fecf90387 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | platform/x86:intel/pmc: Enable the ACPI PM Timer to be turned off when suspended (diff) | |
| download | kernel-414b2fb4bb5aa09f39262c24ed90b831d18ff984.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
