diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-10-26 07:37:11 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-12-17 05:27:25 -0500 |
commit | 495353a3f7fbb11e5100c9258365ff65a4834b37 (patch) | |
tree | 766596871bc81b4871d169771e1e7f185061667b /drivers/regulator/ab3100.c | |
parent | ddec68107ab101d9ff934811d5598f5c613027f2 (diff) |
regulator: keep index within bounds in da9034_get_ldo12_voltage()
If selector equals ARRAY_SIZE(da9034_ldo12_data), that is one too
large already.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/ab3100.c')
0 files changed, 0 insertions, 0 deletions