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)
commit030b16a0e37ff2a870dd57c5da89c1741c683684
treec29969d26c1d0abd921d10f728f49554ba9714c8
parentfc7a99fb71b83f811e2c013ab55e507048153f23
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