From: Guodong Xu Date: Wed, 10 Sep 2014 03:50:39 +0000 (+0800) Subject: regulator: remove unnecessary of_node_get() to parent X-Git-Tag: fixes-for-v3.18-merge-window~110^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8b27a44ddf1987e9bae84b99741b0a61192e017;p=pandora-kernel.git regulator: remove unnecessary of_node_get() to parent 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. So, need to remove these unnecessary of_node_get() calls. Signed-off-by: Guodong Xu Reviewed-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed