On Thursday 28 July 2016 11:20 PM, Grygorii Strashko wrote: > 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.stras...@ti.com>
Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N