Skip to content
Commit e10a0ca1 authored by Michael Walle's avatar Michael Walle Committed by Tom Rini
Browse files

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: default avatarMichael Walle <michael@walle.cc>
parent f68087a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment