Hi Florian,
> It still is completely unnecessary, you can do something like the following:
> 
>       struct phy_device *phydev = netdev->phydev;
> 
>       phy_disconnect(phydev);
>       if (phy_is_pseudo_fixed_link(phydev))
>               fixed_phy_unregister(phydev);
> 
> while netdev->phydev becomes NULL after phy_disconnect(), you retained
> a reference to the original PHY device before disconnecting, in order to
> unregister it. Can you see if that works?
> --
Done. Thanks.

Thanks,
Raghu

Reply via email to