diff options
| author | Wang Jianzheng <[email protected]> | 2024-08-29 06:49:38 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2024-09-02 08:26:18 +0000 |
| commit | 91bb8d0bf2fe69d0116d8f31c5c36b57ef3d8e20 (patch) | |
| tree | 6df3b287a44b5d07bd19ac5ed0e5f5a60593a6ca /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | pinctrl: Join split messages and remove double whitespace (diff) | |
| download | kernel-91bb8d0bf2fe69d0116d8f31c5c36b57ef3d8e20.tar.gz kernel-91bb8d0bf2fe69d0116d8f31c5c36b57ef3d8e20.zip | |
pinctrl: k210: 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: Wang Jianzheng <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
