From: Viresh Kumar Date: Thu, 4 Sep 2014 12:01:28 +0000 (+0530) Subject: power-supply: Rearrange code to remove duplicate lines X-Git-Tag: fixes-against-v3.18-rc2~70^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8468b029a2871b1f0e372a9354bddeac6b03af3b;p=pandora-kernel.git power-supply: Rearrange code to remove duplicate lines of_node_put() was called twice in power_supply_check_supplies() whereas a single call will also work. Rearrange code a bit to make that feasible. Signed-off-by: Viresh Kumar Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed