Thread (13 messages) 13 messages, 3 authors, 2024-08-30

Re: [PATCH -next 2/7] net: dsa: realtek: Use for_each_child_of_node_scoped() and __free()

From: Linus Walleij <hidden>
Date: 2024-08-30 22:17:55
Also in: linux-sunxi, lkml, netdev

On Tue, Aug 27, 2024 at 9:45 AM Jinjie Ruan [off-list ref] wrote:
Avoid need to manually handle of_node_put() by using
for_each_child_of_node_scoped() and __free(), which can simplfy code.

Signed-off-by: Jinjie Ruan <redacted>
Neat!
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help