[PATCH v5 1/2] PM / devfreq: exynos: Use Use devm_clk_get_enabled() helpers

Anand Moon linux.amoon at gmail.com
Mon Jun 17 01:24:04 PDT 2024


Hi All,

On Fri, 10 May 2024 at 15:10, Anand Moon <linux.amoon at gmail.com> 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().
>
> While at it, use dev_err_probe consistently, and use its return value
> to return the error code.
>
> Signed-off-by: Anand Moon <linux.amoon at gmail.com>

Gentle ping?

Thanks
-Anand



More information about the linux-arm-kernel mailing list