commit | 11fa0d1d20c7cc432c77369bc8bbfbc21030e457 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Thu Aug 19 10:29:19 2010 +0800 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Wed Sep 01 12:59:34 2010 +0100 |
tree | feb81ad0bdf19f5c6b6267bf29d1b9fa558ea974 | |
parent | 7112b2dfea4966c58d21b7197c3f099041248e59 [diff] |
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>