]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit276ab48ab1dc0f1acd6ec37d3480b8ecc57e188d
treefd037df7226651814f037230d28275b15cef5afa
parent83fc5a7bfb3a8d5086075deb35b5d1d590178f99
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