regulator: core: Allow regulator_set_voltage for fixed regulators
authorBjorn Andersson <bjorn@kryo.se>
Wed, 5 Feb 2014 20:30:26 +0000 (12:30 -0800)
committerMark Brown <broonie@linaro.org>
Fri, 7 Feb 2014 12:14:19 +0000 (12:14 +0000)
commitc00dc359e5e0b10de993651d8e73e60c41bf29cd
treee749b8fefe82b51a8f7f9850d5a8d1ae395e0635
parentd55efa4d9bff20c98ca05e0bf458691e6869b5a1
regulator: core: Allow regulator_set_voltage for fixed regulators

Make it okay to call regulator_set_voltage on regulators with fixed
voltage if the requested range overlaps the current/configured voltage.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/core.c