regulator: max8998: Use arrays for specifying voltages in platform data
authorTomasz Figa <t.figa@samsung.com>
Mon, 24 Jun 2013 12:39:53 +0000 (14:39 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 30 Jun 2013 21:30:03 +0000 (23:30 +0200)
commit4280e0b42bd590316a048d66ea356e78c5d0464e
tree838184bb11f7e14d3c1054d326ba2bf7b4261fa8
parent443c6ae253e96db9a5800a28d7c61131e81c2dee
regulator: max8998: Use arrays for specifying voltages in platform data

This patch modifies the platform data of max8998 to use arrays for
specifying predefined voltages of buck1 and buck2 instead of separate
field for each voltage.

This allows to simplify the code a bit and will help in adding support
for Device Tree, which will be introduced in further patch.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
arch/arm/mach-exynos/mach-universal_c210.c
arch/arm/mach-s5pv210/mach-aquila.c
arch/arm/mach-s5pv210/mach-goni.c
drivers/regulator/max8998.c
include/linux/mfd/max8998.h