Re: [PATCH net-next 7/7] dsa: mv88e6xxx: Use bus in mv88e6xxx_lookup_name()

2016-04-11 Thread Vivien Didelot
Andrew Lunn writes: > 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 Reviewed-by: Vivien Didelot

[PATCH net-next 7/7] dsa: mv88e6xxx: Use bus in mv88e6xxx_lookup_name()

2016-04-11 Thread Andrew Lunn
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 --- v2: Check bus is valid before using it. --- drivers/net/dsa/mv88e6xx