[PATCH net-next v3 03/13] net: dsa: realtek: Use for_each_child_of_node_scoped()
Andrew Lunn
andrew at lunn.ch
Thu Aug 29 05:47:19 PDT 2024
On Thu, Aug 29, 2024 at 02:31:08PM +0800, Jinjie Ruan wrote:
> Avoid need to manually handle of_node_put() by using
> for_each_child_of_node_scoped(), which can simplfy code.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the linux-arm-kernel
mailing list