net: dsa: slave: Remove MDIO address from switch MDIO bus name
authorAndrew Lunn <andrew@lunn.ch>
Sat, 4 Jun 2016 19:16:55 +0000 (21:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jun 2016 21:29:52 +0000 (14:29 -0700)
commit6e8e862ded41bd966b088960ad6f4dc7a1a3ce36
tree3015c4c6c0c63d2576774149dc1c442f6708a98e
parent762eb67bc2dd704e6a9c4fe44b6b0d72dcc5642e
net: dsa: slave: Remove MDIO address from switch MDIO bus name

The DSA layer should no longer assume the switch is connected to an
MDIO bus. As a result, we cannot use the address on the MDIO bus when
forming the name of the switches internal MDIO bus for its builtin and
possibly external PHYs. The switch index is sufficient to make the
name unique, so drop the MDIO address.

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