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
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