Commit ba0b7837 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

Revert "net: bcmgenet: Ensure MDIO unregistration has clocks enabled"



This reverts commit 1b5ea7ff ("net:
bcmgenet: Ensure MDIO unregistration has clocks enabled"). This is no
longer necessary now that the MDIO bus controller has a clock that it
can manage around the I/O accesses.

Reviewed-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Signed-off-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ee2b4cf8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -678,7 +678,5 @@ void bcmgenet_mii_exit(struct net_device *dev)
	if (of_phy_is_fixed_link(dn))
		of_phy_deregister_fixed_link(dn);
	of_node_put(priv->phy_dn);
	clk_prepare_enable(priv->clk);
	platform_device_unregister(priv->mii_pdev);
	clk_disable_unprepare(priv->clk);
}