dsa: mv88e6xxx: Use bus in mv88e6xxx_lookup_name()
authorAndrew Lunn <andrew@lunn.ch>
Wed, 13 Apr 2016 00:40:45 +0000 (02:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2016 22:15:23 +0000 (18:15 -0400)
commitc156913b5d62cbaa0e3be29409de562b7d2e006e
tree502d26a5f6e655a657f4280b98ac257d83adeaf4
parent74c3e2a54b7d9eb57f23fb0e157b90bb6dae629f
dsa: mv88e6xxx: Use bus in mv88e6xxx_lookup_name()

mv88e6xxx_lookup_name() returns the model name of a switch at a given
address on an MII bus. Using mii_bus to identify the bus rather than
the host device is more logical, so change the parameter.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c