]> 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)
commitc738162226584787565d43adfe87e71b8e020633
tree9d4fec17cf2caae8766b8fb1a4352fb09561280a
parent09091435b12ada88e24922e058be168b6b5e427c
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