[PATCH net-next v2 03/13] net: dsa: realtek: Use for_each_child_of_node_scoped()
Jonathan Cameron
Jonathan.Cameron at Huawei.com
Wed Aug 28 05:39:10 PDT 2024
On Wed, 28 Aug 2024 11:23:33 +0800
Jinjie Ruan <ruanjinjie at huawei.com> 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>
More information about the linux-arm-kernel
mailing list