of_find_node_with_property — find a node with a property with the given name
struct device_node * of_find_node_with_property ( | struct device_node * from, |
const char * prop_name) ; |
from
Pointer to node to start searching from or NULL for the entire device tree.
prop_name
The name of the property to look for
Search the device tree for a node that contains a property with the name prop_name.
From will not be searched, the search will begin with the next node in search order. Typical use is to pass what the previous call returned.
The order of the device tree traversal is kernel version specific.
of_node_put
will be called on from.