diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-04-02 08:24:19 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-03 13:40:28 -0400 |
commit | c4e67bbc99ce661808c3ee77b0bb5779d0df11ca (patch) | |
tree | 8599d70a0ea8f22352ff928074c49133919d26d0 /arch/arm/mach-ux500/board-mop500.c | |
parent | d319310395bdaf3d99fdd221d7adcdb7270fb3cc (diff) |
ARM: ux500: Pass regulator platform data using the new format
Regulator platform data is now passed though a single structure
as opposed to the old way where four separate struct elements
were required. This patch makes use of the new format.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index b03457881c4b..b1124bd34a6c 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c | |||
@@ -198,10 +198,7 @@ static struct platform_device snowball_sbnet_dev = { | |||
198 | 198 | ||
199 | struct ab8500_platform_data ab8500_platdata = { | 199 | struct ab8500_platform_data ab8500_platdata = { |
200 | .irq_base = MOP500_AB8500_IRQ_BASE, | 200 | .irq_base = MOP500_AB8500_IRQ_BASE, |
201 | .regulator_reg_init = ab8500_regulator_reg_init, | 201 | .regulator = &ab8500_regulator_plat_data, |
202 | .num_regulator_reg_init = ARRAY_SIZE(ab8500_regulator_reg_init), | ||
203 | .regulator = ab8500_regulators, | ||
204 | .num_regulator = ARRAY_SIZE(ab8500_regulators), | ||
205 | .gpio = &ab8500_gpio_pdata, | 202 | .gpio = &ab8500_gpio_pdata, |
206 | .codec = &ab8500_codec_pdata, | 203 | .codec = &ab8500_codec_pdata, |
207 | }; | 204 | }; |