diff options
author | Anand Moon <linux.amoon@gmail.com> | 2024-04-12 19:52:52 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-18 16:48:23 +0200 |
commit | 3d284c95eeb8f3d0c84d0dcaa168ee545026a396 (patch) | |
tree | b0ca1d07e520efca0b5351f5ae76ff076d9c278c /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 3f26e2b07affab62d76deef1e62acd06ec25e528 (diff) |
usb: ohci-exynos: 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: Anand Moon <linux.amoon@gmail.com>
Link: https://lore.kernel.org/r/20240412142317.5191-4-linux.amoon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions