diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-06-24 14:39:53 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-30 23:30:03 +0200 |
commit | 4280e0b42bd590316a048d66ea356e78c5d0464e (patch) | |
tree | 838184bb11f7e14d3c1054d326ba2bf7b4261fa8 /drivers/mfd/max8998.c | |
parent | 443c6ae253e96db9a5800a28d7c61131e81c2dee (diff) | |
download | lwn-4280e0b42bd590316a048d66ea356e78c5d0464e.tar.gz lwn-4280e0b42bd590316a048d66ea356e78c5d0464e.zip |
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>
Diffstat (limited to 'drivers/mfd/max8998.c')
0 files changed, 0 insertions, 0 deletions