]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulator: arizona-ldo1: Move pdata into a separate structure
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 18 Apr 2017 10:43:52 +0000 (11:43 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 25 Apr 2017 15:36:32 +0000 (16:36 +0100)
commitaaa84e6a0399df374634c42590e644a698fcc3ff
tree300eee63ca122e6e9770f938f2830d7d8a102403
parent7d8d14b51921cbfe082a796e55c22d0c1dd8fc26
regulator: arizona-ldo1: Move pdata into a separate structure

In preparation for sharing this driver with Madera, move the pdata
for the LDO1 regulator out of struct arizona_pdata into a dedicated
pdata struct for this driver. As a result the code in
arizona_ldo1_of_get_pdata() can be made independent of struct arizona.

This patch also updates the definition of struct arizona_pdata and
the use of this pdata in mach-crag6410-module.c

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/mach-s3c64xx/mach-crag6410-module.c
drivers/regulator/arizona-ldo1.c
include/linux/mfd/arizona/pdata.h
include/linux/regulator/arizona-ldo1.h [new file with mode: 0644]