Re: [RFT][PATCH v2] regulator: Add missing of_node_put()

2013-01-30 Thread Mark Brown
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

[RFT][PATCH v2] regulator: Add missing of_node_put()

2013-01-27 Thread Axel Lin
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