On Sun, Jan 27, 2013 at 09:16:56PM +0800, Axel Lin wrote:
> of_find_node_by_name() returns a node pointer with refcount incremented, use
> of_node_put() on it when done.
Applied, thanks.
signature.asc
Description: Digital signature
of_find_node_by_name() returns a node pointer with refcount incremented, use
of_node_put() on it when done.
of_find_node_by_name() will call of_node_put() against from parameter,
thus we also need to call of_node_get(from) before calling
of_find_node_by_name().
Signed-off-by: Axel Lin
Cc: Haojia
2 matches
Mail list logo