net: dsa: move PHY setup on DSA MII bus to its own function
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 10 Mar 2015 23:57:12 +0000 (16:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Mar 2015 21:56:28 +0000 (17:56 -0400)
commitc305c1651cb20f00d272db1615d39513365f2097
tree23464b98a206ac5fd0d3233912b9bad3e6700fbb
parent33d6737761ea425d43f3b6e4561573a4020982f2
net: dsa: move PHY setup on DSA MII bus to its own function

In preparation for dealing with indirect reads and writes towards
certain PHY devices, move the code which deals with binding the PHY
device to the slave MII bus created by DSA to its own function:
dsa_slave_phy_connect().

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c