Re: [PATCH RFC 05/28] net: dsa: Pass the dsa device to the switch drivers

2015-12-23 Thread Florian Fainelli
Le 23/12/2015 04:56, Andrew Lunn a écrit : > By passing a device structure to the switch devices, it allows them > to use devm_* methods for resource management. > > Signed-off-by: Andrew Lunn Acked-by: Florian Fainelli -- Florian -- To unsubscribe from this list: send the line "unsubscribe ne

[PATCH RFC 05/28] net: dsa: Pass the dsa device to the switch drivers

2015-12-23 Thread Andrew Lunn
By passing a device structure to the switch devices, it allows them to use devm_* methods for resource management. Signed-off-by: Andrew Lunn --- drivers/net/dsa/bcm_sf2.c | 2 +- drivers/net/dsa/mv88e6060.c | 2 +- drivers/net/dsa/mv88e6123.c | 2 +- drivers/net/dsa/mv88e6131.c | 2 +- driver