]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: arizona-ldo1: Move setup processing from arizona-core
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 16 Apr 2014 09:01:38 +0000 (10:01 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 18 Apr 2014 17:35:03 +0000 (18:35 +0100)
commit9547dc4b1427f68aa87f04efb591484eff7b6877
treefcbc82d2b185af50f6070323e8142e4127aca125
parenta112791fb671a8b9da841927c8c56484123f1ff1
regulator: arizona-ldo1: Move setup processing from arizona-core

It is more idiomatic to process things relating to the regulator in its
driver. This patch moves both processing of device tree relating to the
regulator and checking if the regulator is external from arizona-core
into the regulator driver.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/mfd/arizona-core.c
drivers/regulator/arizona-ldo1.c