regulator: max8952: Separate constraints from platform data struct
authorTomasz Figa <t.figa@samsung.com>
Thu, 4 Apr 2013 16:17:19 +0000 (18:17 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 5 Apr 2013 10:20:51 +0000 (11:20 +0100)
commit3ec6eb9cc2dbfa5b626f813ab8077eb71da60af2
tree42ec316c65ac16f27371cd9300d35ec28bc24cfc
parent07961ac7c0ee8b546658717034fe692fd12eefa9
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>
arch/arm/mach-exynos/mach-universal_c210.c
drivers/regulator/max8952.c
include/linux/regulator/max8952.h