phy_detach — detach a PHY device from its network device
void phy_detach (
)
phydev
target phy_device struct
This detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct.
phy_attach_direct