of_mdio: add helper to deregister fixed-link PHYs
authorJohan Hovold <johan@kernel.org>
Mon, 28 Nov 2016 18:24:55 +0000 (19:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 04:17:02 +0000 (23:17 -0500)
commit3f65047c853a2a5abcd8ac1984af3452b5df4ada
tree922554935869406027239cc62a6a904b339c6373
parent0d8f3c67151faaa80e332c254372dca58fb2a9d4
of_mdio: add helper to deregister fixed-link PHYs

Add helper to deregister fixed-link PHYs registered using
of_phy_register_fixed_link().

Convert the two drivers that care to deregister their fixed-link PHYs to
use the new helper, but note that most drivers currently fail to do so.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c
drivers/of/of_mdio.c
include/linux/of_mdio.h
net/dsa/dsa.c