Axel Lin 19c6b5440a regulator: 88pm800: Fix checking whether num_regulator is valid
The code to check whether num_regulator is valid is wrong because it should
iterate all array entries rather than break from the for loop if
pdata->regulators[i] is NULL.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-13 11:19:05 +01:00
..
2013-07-03 11:56:38 -07:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:31:26 +09:00
2012-11-20 10:53:38 +09:00