From: Rhyland Klein Date: Mon, 10 Jun 2013 21:26:39 +0000 (-0400) Subject: power_supply: Add of_node_put to fix refcount X-Git-Tag: v3.11-rc1~52^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2054d6e90e26b01ac0f125a42fecba63f226e55e;p=pandora-kernel.git power_supply: Add of_node_put to fix refcount of_parse_phandle increments the refcount for a dt node before returning it. Add of_node_put where needed to properly decrement the refcount when we are done using a given node. Signed-off-by: Rhyland Klein Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed