Name

of_platform_depopulate — Remove devices populated from device tree

Synopsis

void of_platform_depopulate (struct device * parent);
 

Arguments

parent

Pointer to device whose children will be removed

Description

Complementary to of_platform_populate, this function removes children of the given device (and, recursively, their children) that have been created from their respective device tree nodes (and only those, leaving others - eg. manually created - unharmed).

Also see

of_platform_populate, of_platform_device_destroy

Return

0.