Name
of_remove_property —
remove a property from a node
Synopsis
int of_remove_property ( | struct device_node * np, |
| struct property * prop) ; |
Arguments
np
Pointer to node containing the property
prop
Pointer to property to remove
Description
Note that we don't actually remove it, since we have given out
who-knows-how-many pointers to the data using get-property.
Instead we just move the property to the “dead properties”
list, so it won't be found any more.
Return
0 on success, -ENODEV
if the property is not found.