]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8346e125370a317f04626bb0cf6067fc28fe3760
treeae4f2946a12a6e9640c3edc077f5f6889bc3d5ec
parentfdc501bbb8800a492cdaade634ce450d9e8f4866
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