[PATCH net-next v4 2/8] net: dsa: realtek: Use for_each_child_of_node_scoped()

Linus Walleij linus.walleij at linaro.org
Mon Sep 2 01:22:56 PDT 2024


On Fri, Aug 30, 2024 at 5:06 AM 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.
>
> Reviewed-by: Andrew Lunn <andrew at lunn.ch>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list