regulator: Factor out voltage constraint setup
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Oct 2009 14:53:50 +0000 (15:53 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 17 Dec 2009 10:27:23 +0000 (10:27 +0000)
commite79055d62ea6ca3c36962209f4c819614972c95a
tree2065914f45c00b6b94f346f9374d77748581a215
parent5b307627738f1f6cbc31fad9e28a299b5fe55602
regulator: Factor out voltage constraint setup

This allows constraints to take effect on regulators that support
voltage setting but for which the board does not specify a voltage
range (for example, because it is fixed correctly at system startup).

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c