commit | c156913b5d62cbaa0e3be29409de562b7d2e006e | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Apr 13 02:40:45 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 13 18:15:23 2016 -0400 |
tree | 502d26a5f6e655a657f4280b98ac257d83adeaf4 | |
parent | 74c3e2a54b7d9eb57f23fb0e157b90bb6dae629f [diff] |
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>