From: Axel Lin Date: Sun, 27 Jan 2013 13:16:56 +0000 (+0800) Subject: regulator: Add missing of_node_put() X-Git-Tag: v3.9-rc1~154^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92f5dd2c42fa61e0ef810fad4584b184ea2d50e;p=pandora-kernel.git regulator: Add missing of_node_put() 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed