]> git.karo-electronics.de Git - linux-beck.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)
commit4a8c475f5fd5c1271dba36a453d666d5ed473aa6
treefcbc82d2b185af50f6070323e8142e4127aca125
parent36bcdf1bb6a16d58f8d60549502fd1da6b27a81a
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