[PATCH 00/21] pinctrl: Use scope based of_node_put() cleanups

Linus Walleij linus.walleij at linaro.org
Fri May 3 00:19:58 PDT 2024


Hi Peng,

thanks for doing this! I am very much in favor of using
scoped management of resources where it makes it easier to
do the right thing.

I agree with Krzysztof's comment that we should avoid scoping
in cases where there is a clear path grab/use/release so the
code is easy to read already as it is. Let's drop those.

I saw there was some patch that was even a fix, perhaps I
should pick that one separately for fixes, but probably it is
non-urgent.

I suppose we will just apply v2 after people had some time to
look at it!

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list