commit | 7e99e34701728d54ccd0466eccf377a42b9db215 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@gmail.com> | Mon Oct 21 16:51:30 2019 -0400 |
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Oct 22 12:37:07 2019 -0700 |
tree | 9047ed67e960bddc994b2bf7a4ecbb8fa0c8ca16 | |
parent | 05f294a852358a46d9236cc777901f49a4f0ae85 [diff] |
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>