]> 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)
commit8a7397a7009264e3d92075df46a295bdb04638a6
tree502d26a5f6e655a657f4280b98ac257d83adeaf4
parent8a9efe15b30bce6874714513a80540d87356d268
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