Home
last modified time | relevance | path

Searched hist:"99 cd25ce10249c7f9d7172fe2ed266b023cd3323" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/regulator/
H A D88pm8607.cdiff 99cd25ce10249c7f9d7172fe2ed266b023cd3323 Thu Aug 04 10:18:11 CEST 2011 Axel Lin <axel.lin@gmail.com> regulator: 88pm8607: Fix off-by-one value range checking in the case of no id is matched

In the case of no id is matched, the variable i is equal to
ARRAY_SIZE(pm8607_regulator_info).

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>