aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorAnand Moon <[email protected]>2024-04-12 19:52:52 +0530
committerGreg Kroah-Hartman <[email protected]>2024-04-18 16:48:23 +0200
commit3d284c95eeb8f3d0c84d0dcaa168ee545026a396 (patch)
treeb0ca1d07e520efca0b5351f5ae76ff076d9c278c /rust/helpers/helpers.c
parent3f26e2b07affab62d76deef1e62acd06ec25e528 (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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions