summaryrefslogtreecommitdiff
path: root/drivers/power/max8925_power.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-09-04 17:31:28 +0530
committerSebastian Reichel <sre@kernel.org>2014-09-16 11:01:31 +0200
commit8468b029a2871b1f0e372a9354bddeac6b03af3b (patch)
tree274be012eb8e0645dae52bacc7a9e8ba778151d6 /drivers/power/max8925_power.c
parenta0f93b4268d903430d7e21110f10be0919daf3b2 (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>
Diffstat (limited to 'drivers/power/max8925_power.c')
0 files changed, 0 insertions, 0 deletions