diff options
| author | Anand Moon <[email protected]> | 2024-04-12 19:52:52 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-04-18 16:48:23 +0200 |
| commit | 3d284c95eeb8f3d0c84d0dcaa168ee545026a396 (patch) | |
| tree | b0ca1d07e520efca0b5351f5ae76ff076d9c278c /tools/perf/scripts/python/event_analyzing_sample.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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions