]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: cpsw: remove child devices while driver detach
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 13 Oct 2014 16:51:07 +0000 (22:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 19:59:38 +0000 (15:59 -0400)
commit26d1e4a6369a5605ff315a8d91f3214a157ee1a8
treec29969d26c1d0abd921d10f728f49554ba9714c8
parent3f93256ae7b78fa8a5eff2c1a6fc0a951e57274c
drivers: net: cpsw: remove child devices while driver detach

remove all the child devices from the system to make sure that re-insert of
cpsw module doesn't fail on child device populated by of_platform_populate().

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c