Name

of_get_parent — get a node's parent

Synopsis

struct device_node * of_get_parent (const struct device_node * node);
 

Arguments

node

Pointer to node to get parent of

Description

Find the parent node of node.

Return

A node pointer if found, with refcount incremented, use of_node_put on it when done. NULL if node is not found.