]> git.baikalelectronics.ru Git - kernel.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)
commit76c2d301face1b8fd220374cc9157fc36f1e8684
tree9d4fec17cf2caae8766b8fb1a4352fb09561280a
parent504736df6b005a4b96cb136c55b48912348e9205
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