[PATCH net-next v2 1/4] net: dsa: Pass device pointer to dsa_register_switch

2017-01-26 Thread Florian Fainelli
In preparation for allowing dsa_register_switch() to be supplied with device/platform data, pass down a struct device pointer instead of a struct device_node. Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c | 2 +- drivers/net/dsa/mv88e6xxx/chip.c | 7 +++ drivers/net/ds

Re: [PATCH net-next v2 1/4] net: dsa: Pass device pointer to dsa_register_switch

2016-07-05 Thread Andrew Lunn
On Tue, Jul 05, 2016 at 03:07:10PM -0700, Florian Fainelli wrote: > In preparation for allowing dsa_register_switch() to be supplied with > device/platform data, pass down a struct device pointer instead of a > struct device_node. > > Signed-off-by: Florian Fainelli Reviewed-by: Andrew Lunn

[PATCH net-next v2 1/4] net: dsa: Pass device pointer to dsa_register_switch

2016-07-05 Thread Florian Fainelli
In preparation for allowing dsa_register_switch() to be supplied with device/platform data, pass down a struct device pointer instead of a struct device_node. Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c | 2 +- drivers/net/dsa/mv88e6xxx/chip.c | 7 +++ include/net/ds