Re: [PATCH net-next 16/16] net: dsa: remove dsa_switch_alloc helper

2019-10-20 Thread Florian Fainelli
On 10/19/2019 8:19 PM, Vivien Didelot wrote: > Now that ports are dynamically listed in the fabric, there is no need > to provide a special helper to allocate the dsa_switch structure. This > will give more flexibility to drivers to embed this structure as they > wish in their private structure.

[PATCH net-next 16/16] net: dsa: remove dsa_switch_alloc helper

2019-10-19 Thread Vivien Didelot
Now that ports are dynamically listed in the fabric, there is no need to provide a special helper to allocate the dsa_switch structure. This will give more flexibility to drivers to embed this structure as they wish in their private structure. Signed-off-by: Vivien Didelot --- drivers/net/dsa/b5