]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: complete dsa_switch_destroy
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 6 Oct 2015 14:40:32 +0000 (15:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:56:08 +0000 (04:56 -0700)
commit028414a0328527e9a5a654e2bdd01eec38fc97ff
treebb19df20f43a227782544adb459aa7c211615713
parent24a1cb179da96b183fe5c7339f2cb149cf80b650
net: dsa: complete dsa_switch_destroy

When unbinding dsa, complete the dsa_switch_destroy to unregister the
fixed link phy then cleanly unregister and destroy the net devices.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c