regulator: 88pm800: forever loop in pm800_regulator_probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Aug 2013 16:14:03 +0000 (19:14 +0300)
committerMark Brown <broonie@linaro.org>
Wed, 14 Aug 2013 18:09:44 +0000 (19:09 +0100)
commit720c027303b91ea7320dc9da51b502633c9fece4
treefd037df7226651814f037230d28275b15cef5afa
parent19c6b5440a66cba44365e511d9794e5e34ae2e4e
regulator: 88pm800: forever loop in pm800_regulator_probe()

This is supposed to be testing "i < ARRAY_SIZE()" instead of just
"ARRAY_SIZE()".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/88pm800.c