net: enetc: unregister mdiobus
If the device fails to probe - for example, when there is no ethaddr set - then the private data is automatically freed but the mdiobus remains registered. Fixes: 1e354cb3 ("drivers: net: fsl_enetc: register internal MDIO bus") Signed-off-by:Michael Walle <michael@walle.cc>
Loading
Please register or sign in to comment