aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/tps65090-charger.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-09-04 17:31:27 +0530
committerSebastian Reichel <sre@kernel.org>2014-09-16 11:01:30 +0200
commita0f93b4268d903430d7e21110f10be0919daf3b2 (patch)
tree04fb92d5e3e21c14c1fda11c32ed477baec4c4cd /drivers/power/tps65090-charger.c
parente80cf421432bab7327891e7e8afe027fafb4c27b (diff)
downloadkernel_replicant_linux-a0f93b4268d903430d7e21110f10be0919daf3b2.tar.gz
kernel_replicant_linux-a0f93b4268d903430d7e21110f10be0919daf3b2.tar.bz2
kernel_replicant_linux-a0f93b4268d903430d7e21110f10be0919daf3b2.zip
power-supply: Use 'break' instead of 'continue' to end loop
In few routines, we need to end the do-while loop when no more "power-supplies" are available. Currently we are doing 'continue' which will make the 'while(np)' conditional statement run again. Skip this by doing a 'break' instead. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/tps65090-charger.c')
0 files changed, 0 insertions, 0 deletions