summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-04-04 20:17:19 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-05 14:20:51 +0400
commit3ec6eb9cc2dbfa5b626f813ab8077eb71da60af2 (patch)
tree42ec316c65ac16f27371cd9300d35ec28bc24cfc /include/linux/regulator
parent07961ac7c0ee8b546658717034fe692fd12eefa9 (diff)
downloadlinux-3ec6eb9cc2dbfa5b626f813ab8077eb71da60af2.tar.xz
regulator: max8952: Separate constraints from platform data struct
This patch modifies platform data structure of max8952 driver to use pointer to regulator_init_data struct instead of embedding it. This is a prerequisite for adding Device Tree support for the driver. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/max8952.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regulator/max8952.h b/include/linux/regulator/max8952.h
index 45e42855ad05..c13aa34d9019 100644
--- a/include/linux/regulator/max8952.h
+++ b/include/linux/regulator/max8952.h
@@ -128,7 +128,7 @@ struct max8952_platform_data {
u8 sync_freq;
u8 ramp_speed;
- struct regulator_init_data reg_data;
+ struct regulator_init_data *reg_data;
};