]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf35be3fcff7a821006502923530660c7a9bff58
tree502d26a5f6e655a657f4280b98ac257d83adeaf4
parent9daf9b806772e00eba481c52c194d012b222be5a
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