]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: core: Check for DT every time we check full constraints
authorMark Brown <broonie@linaro.org>
Wed, 27 Nov 2013 16:22:53 +0000 (16:22 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 27 Nov 2013 17:13:29 +0000 (17:13 +0000)
commit75bc9641cadd2a3f91f9c2e7f2fdfdeb8bd4b1d6
tree9d4fec17cf2caae8766b8fb1a4352fb09561280a
parent87b2841753e1694fc96fefb467f6aff9940b07af
regulator: core: Check for DT every time we check full constraints

Eliminate the gap between DT becoming available and this being used to say
we have full constraints by checking directly for DT every time we check
for full constraints. This improves interoperaton with optional regulator
support.

Signed-off-by: Mark Brown <broonie@linaro.org>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
drivers/regulator/core.c