[PATCH 1/5] pinctrl: sunxi: Use devm_clk_get_enabled() helpers

Linus Walleij linus.walleij at linaro.org
Mon Sep 2 01:06:41 PDT 2024


On Thu, Aug 29, 2024 at 8:48 AM Wang Jianzheng <wangjianzheng at vivo.com> wrote:

> sunxi sunxi_pinctrl_init_with_variant get, enable clk and
> deinit_device disable and unprepare it.
>
> This simplifes the code and avoids the calls to
> clk_disable_unprepare().
>
> Signed-off-by: Wang Jianzheng <wangjianzheng at vivo.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list