Re: [PATCH net-next v4 2/8] net: dsa: realtek: Use for_each_child_of_node_scoped()
From: Linus Walleij <hidden>
Date: 2024-09-02 08:26:26
Also in:
linux-arm-kernel, linux-sunxi
From: Linus Walleij <hidden>
Date: 2024-09-02 08:26:26
Also in:
linux-arm-kernel, linux-sunxi
On Fri, Aug 30, 2024 at 5:06 AM Jinjie Ruan [off-list ref] wrote:
Avoid need to manually handle of_node_put() by using for_each_child_of_node_scoped(), which can simplfy code. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Jinjie Ruan <redacted>
Reviewed-by: Linus Walleij <redacted> Yours, Linus Walleij