[PATCH v3 1/5] usb: ehci-exynos: Use devm_clk_get_enabled() helpers

Alan Stern stern at rowland.harvard.edu
Fri Apr 12 07:58:36 PDT 2024


On Fri, Apr 12, 2024 at 07:52:50PM +0530, Anand Moon wrote:
> 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 at gmail.com>
> ---

For patches 1 - 4:

Reviewed-by: Alan Stern <stern at rowland.harvard.edu>



More information about the linux-arm-kernel mailing list