Re: [PATCH net-next 5/8] net: dsa: mv88e6xxx: add switch register helpers

2016-06-09 Thread Vivien Didelot
Andrew Lunn writes: > On Wed, Jun 08, 2016 at 08:44:53PM -0400, Vivien Didelot wrote: >> Extract the allocation and registration code related to the dsa_switch >> structure in a mv88e6xxx_register_switch helper function. >> >> For symmetry in the code, add a

Re: [PATCH net-next 5/8] net: dsa: mv88e6xxx: add switch register helpers

2016-06-08 Thread Andrew Lunn
On Wed, Jun 08, 2016 at 08:44:53PM -0400, Vivien Didelot wrote: > Extract the allocation and registration code related to the dsa_switch > structure in a mv88e6xxx_register_switch helper function. > > For symmetry in the code, add a mv88e6xxx_unregister_switch function. You say what you are

[PATCH net-next 5/8] net: dsa: mv88e6xxx: add switch register helpers

2016-06-08 Thread Vivien Didelot
Extract the allocation and registration code related to the dsa_switch structure in a mv88e6xxx_register_switch helper function. For symmetry in the code, add a mv88e6xxx_unregister_switch function. Signed-off-by: Vivien Didelot ---