phy: Move phy specific bus match into phy_device
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:23 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:27 +0000 (14:31 -0500)
commite76a4957c5ee5cf69cea89d450c29c536e77ce9e
tree3367354264ab950a1210556f7712a362420679c0
parentbe01da72b1b832b89fbdf59ae6f1b60e53ca2987
phy: Move phy specific bus match into phy_device

Matching a driver to a device has both generic parts, and parts which
are specific to PHY devices. Move the PHY specific parts into
phy_device.

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
drivers/net/phy/phy_device.c
include/linux/mdio.h