[Linux-stm32] [PATCH net-next v3 06/13] net: phy: Use for_each_available_child_of_node_scoped()

Andrew Lunn andrew at lunn.ch
Thu Aug 29 12:50:58 UTC 2024


On Thu, Aug 29, 2024 at 02:31:11PM +0800, Jinjie Ruan wrote:
> Avoid need to manually handle of_node_put() by using
> for_each_available_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-stm32 mailing list