regulator: ab8500: Separate regulator and MFD platform data
authorBengt Jonsson <bengt.g.jonsson@stericsson.com>
Thu, 21 Mar 2013 15:59:03 +0000 (15:59 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 22 Mar 2013 11:03:17 +0000 (12:03 +0100)
commit732805a563617aafc7405409c03182afafb3943b
tree8ecd2fefdef5f6802f8a28b60dfb93f26f0473a7
parent33bc8f46a8ee3fc1836def9713933435b7ff0b90
regulator: ab8500: Separate regulator and MFD platform data

The ab8500 MFD should not have knowledge about regulator-
specific platform data like number of regulators and
regulator registers. As the regulator platform data is
about to grow with external regulators, this information
is moved to a new structure provided by the regulator
driver.

Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Yvan FILLION <yvan.fillion@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-ux500/board-mop500-regulators.c
arch/arm/mach-ux500/board-mop500-regulators.h
drivers/regulator/ab8500.c
include/linux/regulator/ab8500.h