net: dsa: remove dsa_switch_alloc helper
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 <vivien.didelot@gmail.com> Reviewed-by:
Florian Fainelli <f.fainelli@gmail.com> Signed-off-by:
Jakub Kicinski <jakub.kicinski@netronome.com>
Showing
- drivers/net/dsa/b53/b53_common.c 4 additions, 1 deletiondrivers/net/dsa/b53/b53_common.c
- drivers/net/dsa/dsa_loop.c 4 additions, 1 deletiondrivers/net/dsa/dsa_loop.c
- drivers/net/dsa/lan9303-core.c 3 additions, 1 deletiondrivers/net/dsa/lan9303-core.c
- drivers/net/dsa/lantiq_gswip.c 3 additions, 1 deletiondrivers/net/dsa/lantiq_gswip.c
- drivers/net/dsa/microchip/ksz_common.c 4 additions, 1 deletiondrivers/net/dsa/microchip/ksz_common.c
- drivers/net/dsa/mt7530.c 4 additions, 1 deletiondrivers/net/dsa/mt7530.c
- drivers/net/dsa/mv88e6060.c 3 additions, 1 deletiondrivers/net/dsa/mv88e6060.c
- drivers/net/dsa/mv88e6xxx/chip.c 3 additions, 1 deletiondrivers/net/dsa/mv88e6xxx/chip.c
- drivers/net/dsa/qca8k.c 4 additions, 1 deletiondrivers/net/dsa/qca8k.c
- drivers/net/dsa/realtek-smi-core.c 4 additions, 1 deletiondrivers/net/dsa/realtek-smi-core.c
- drivers/net/dsa/sja1105/sja1105_main.c 3 additions, 1 deletiondrivers/net/dsa/sja1105/sja1105_main.c
- drivers/net/dsa/vitesse-vsc73xx-core.c 4 additions, 1 deletiondrivers/net/dsa/vitesse-vsc73xx-core.c
- include/net/dsa.h 0 additions, 1 deletioninclude/net/dsa.h
- net/dsa/dsa2.c 6 additions, 15 deletionsnet/dsa/dsa2.c
Loading
Please register or sign in to comment