[PATCH v2 13/16] net: dsa: Centralise getting switch id

2015-03-26 Thread Guenter Roeck
From: Andrew Lunn Get the switch id and save it away in the private mv88x6xxx structure in a centralised piece of code, rather than each driver doing it itself. Signed-off-by: Andrew Lunn Reviewed-by: Guenter Roeck Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6352.c | 2 --

[PATCH v2 13/16] net: dsa: Centralise getting switch id

2015-03-26 Thread Guenter Roeck
From: Andrew Lunn and...@lunn.ch Get the switch id and save it away in the private mv88x6xxx structure in a centralised piece of code, rather than each driver doing it itself. Signed-off-by: Andrew Lunn and...@lunn.ch Reviewed-by: Guenter Roeck li...@roeck-us.net Signed-off-by: Guenter Roeck