Name

of_get_child_by_name — find the child node by name for a given parent

Synopsis

struct device_node * of_get_child_by_name (const struct device_node * node,
 const char * name);
 

Arguments

node

Pointer to parent node

name

Child name to look for

Description

This function looks for child node for given matching name

Return

Pointer to child node if found, with refcount incremented, use of_node_put on it when done. NULL if node is not found.