]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Simplify dsa_slave_phy_setup()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 26 Oct 2017 00:32:05 +0000 (17:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 13:11:30 +0000 (22:11 +0900)
commit031a8b401ef46d2fc895df8c08686afe85a796c6
tree4448de6bad8192e4b4df163e9307c3a6a384b26e
parentcd7810565463a96f40d65347ca0f83974a17e5bc
net: dsa: Simplify dsa_slave_phy_setup()

Remove the code that tried to identify if a PHY designated by Device
Tree required diversion through the DSA-created MDIO bus. This was
created mainly for the bcm_sf2.c driver back when it did not have its
own MDIO bus driver, which it now has since e5df23ef24db ("net: dsa:
bcm_sf2: Register our slave MDIO bus").

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c