From: Viresh Kumar Date: Thu, 4 Sep 2014 12:01:27 +0000 (+0530) Subject: power-supply: Use 'break' instead of 'continue' to end loop X-Git-Tag: fixes-against-v3.18-rc2~70^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0f93b4268d903430d7e21110f10be0919daf3b2;p=pandora-kernel.git 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 Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed