diff options
| author | Florian Fainelli <[email protected]> | 2015-03-05 20:35:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-06 05:18:20 +0000 |
| commit | c86e59b9e63659bb7fc2ba1781aabe2f37aaf10b (patch) | |
| tree | 9b62ef1646e406ee2a7d70fb2fdcf8de782c3e4d /net/switchdev/switchdev.c | |
| parent | net: dsa: let switches specify their tagging protocol (diff) | |
| download | kernel-c86e59b9e63659bb7fc2ba1781aabe2f37aaf10b.tar.gz kernel-c86e59b9e63659bb7fc2ba1781aabe2f37aaf10b.zip | |
net: dsa: extract dsa switch tree setup and removal
Extract the core logic that setups a 'struct dsa_switch_tree' and
removes it, update dsa_probe() and dsa_remove() to use the two helper
functions. This will be useful to allow for other callers to setup
this structure differently.
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
