diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-19 04:29:19 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-09-01 13:59:34 +0200 |
commit | 11fa0d1d20c7cc432c77369bc8bbfbc21030e457 (patch) | |
tree | feb81ad0bdf19f5c6b6267bf29d1b9fa558ea974 /drivers/regulator/tps6586x-regulator.c | |
parent | regulator: tps6507x - remove incorrect comments (diff) | |
download | linux-11fa0d1d20c7cc432c77369bc8bbfbc21030e457.tar.xz linux-11fa0d1d20c7cc432c77369bc8bbfbc21030e457.zip |
regulator: max8998 - fix memory allocation size for max8998->rdev
We only use max8998->rdev[0] .. max8998->rdev[pdata->num_regulators-1],
max8998->rdev[pdata->num_regulators] is not used.
Thus fix the memory allocation size.
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>
Diffstat (limited to 'drivers/regulator/tps6586x-regulator.c')
0 files changed, 0 insertions, 0 deletions