commit | 8468b029a2871b1f0e372a9354bddeac6b03af3b | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Sep 04 17:31:28 2014 +0530 |
committer | Sebastian Reichel <sre@kernel.org> | Tue Sep 16 11:01:31 2014 +0200 |
tree | 274be012eb8e0645dae52bacc7a9e8ba778151d6 | |
parent | a0f93b4268d903430d7e21110f10be0919daf3b2 [diff] |
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 <viresh.kumar@linaro.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>