mdio_bus: Generalise of_mdiobus_link_phydev()
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:24 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:27 +0000 (14:31 -0500)
commitf03bc4ae552f30faa9bbee2d72bd1ee34667011a
treeae4f2946a12a6e9640c3edc077f5f6889bc3d5ec
parente76a4957c5ee5cf69cea89d450c29c536e77ce9e
mdio_bus: Generalise of_mdiobus_link_phydev()

This function should work with any sort of MDIO device which can be
probed on the bus, not just PHY devices. So generalise it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c