|
@@ -3600,6 +3600,8 @@ fec_drv_remove(struct platform_device *pdev)
|
|
fec_enet_mii_remove(fep);
|
|
fec_enet_mii_remove(fep);
|
|
if (fep->reg_phy)
|
|
if (fep->reg_phy)
|
|
regulator_disable(fep->reg_phy);
|
|
regulator_disable(fep->reg_phy);
|
|
|
|
+ pm_runtime_put(&pdev->dev);
|
|
|
|
+ pm_runtime_disable(&pdev->dev);
|
|
if (of_phy_is_fixed_link(np))
|
|
if (of_phy_is_fixed_link(np))
|
|
of_phy_deregister_fixed_link(np);
|
|
of_phy_deregister_fixed_link(np);
|
|
of_node_put(fep->phy_node);
|
|
of_node_put(fep->phy_node);
|