diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2016-07-28 20:50:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-30 21:00:33 -0700 |
commit | 3bf2cb3ab585bd9ef1e46d3f89619bb33f2391de (patch) | |
tree | da0841b00fafe6cad28e61d0fda024f315539789 /crypto/crc32c_generic.c | |
parent | drivers: net: cpsw: fix wrong regs access in cpsw_remove (diff) | |
download | linux-dev-3bf2cb3ab585bd9ef1e46d3f89619bb33f2391de.tar.xz linux-dev-3bf2cb3ab585bd9ef1e46d3f89619bb33f2391de.zip |
drivers: net: cpsw: use of_platform_depopulate()
Use of_platform_depopulate() in cpsw_remove() instead of
of_device_unregister(), because CSPW child devices will not be
recreated otherwise on next insmod. of_platform_depopulate() is
correct way now as it will ensure that all steps done in
of_platform_populate() are reverted, including cleaning up of
OF_POPULATED flag.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/crc32c_generic.c')
0 files changed, 0 insertions, 0 deletions