Re: [PATCH net-next v3 07/13] net: mdio: mux-mmioreg: Simplified with scoped function
From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-08-29 12:53:51
Also in:
linux-arm-kernel, linux-sunxi
From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-08-29 12:53:51
Also in:
linux-arm-kernel, linux-sunxi
On Thu, Aug 29, 2024 at 02:31:12PM +0800, Jinjie Ruan wrote:
Avoids the need for manual cleanup of_node_put() in early exits from the loop by using for_each_available_child_of_node_scoped(). Signed-off-by: Jinjie Ruan <redacted> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew