Re: [PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-10 Thread Axel Lin
2014-09-10 17:23 GMT+08:00 Guodong Xu : > > > On 09/10/2014 12:23 PM, Axel Lin wrote: >> 2014-09-10 12:20 GMT+08:00 Axel Lin : >>> 2014-09-10 11:50 GMT+08:00 Guodong Xu : These of_node_get() were added to balance refcount decrements inside of of_find_node_by_name(). See: commit c92f5

Re: [PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-10 Thread Guodong Xu
On 09/10/2014 12:23 PM, Axel Lin wrote: > 2014-09-10 12:20 GMT+08:00 Axel Lin : >> 2014-09-10 11:50 GMT+08:00 Guodong Xu : >>> These of_node_get() were added to balance refcount decrements inside of >>> of_find_node_by_name(). >>> See: commit c92f5dd2c42f ("regulator: Add missing of_node_put()")

Re: [PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-09 Thread Axel Lin
2014-09-10 12:20 GMT+08:00 Axel Lin : > 2014-09-10 11:50 GMT+08:00 Guodong Xu : >> These of_node_get() were added to balance refcount decrements inside of >> of_find_node_by_name(). >> See: commit c92f5dd2c42f ("regulator: Add missing of_node_put()") >> >> However of_find_node_by_name() was then re

Re: [PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-09 Thread Axel Lin
2014-09-10 11:50 GMT+08:00 Guodong Xu : > These of_node_get() were added to balance refcount decrements inside of > of_find_node_by_name(). > See: commit c92f5dd2c42f ("regulator: Add missing of_node_put()") > > However of_find_node_by_name() was then replaced by of_get_child_by_name(), > which doe

[PATCH] regulator: remove unnecessary of_node_get() to parent

2014-09-09 Thread Guodong Xu
These of_node_get() were added to balance refcount decrements inside of of_find_node_by_name(). See: commit c92f5dd2c42f ("regulator: Add missing of_node_put()") However of_find_node_by_name() was then replaced by of_get_child_by_name(), which doesn't call of_node_put() against its input parameter