On Thu, Nov 26, 2026 at 08:55:13AM +0800, David Yang wrote:
> Let devres manage the netdev and the MDIO bus allocation, so that > neither needs to be freed by hand in the error path and on remove. > The MDIO bus itself is still registered and unregistered by hand, so > that it is torn down before the MAC clocks are disabled on the probe > error path. > > Signed-off-by: David Yang <mmya…@gmail.com>
Reviewed-by: Andrew Lunn <andr…@lunn.ch> Andrew