Re: [PATCH 4/5] pinctrl: k210: Use devm_clk_get_enabled() helpers
From: Linus Walleij
Date: Mon Sep 02 2024 - 04:27:09 EST
On Thu, Aug 29, 2024 at 8:49 AM Wang Jianzheng <wangjianzheng@xxxxxxxx> 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: Wang Jianzheng <wangjianzheng@xxxxxxxx>
Patch applied!
Yours,
Linus Walleij