power: regulator: Introduce regulator_set_value_force function
authorKeerthy <j-keerthy@ti.com>
Wed, 26 Oct 2016 08:12:30 +0000 (13:42 +0530)
committerSimon Glass <sjg@chromium.org>
Fri, 25 Nov 2016 17:00:04 +0000 (10:00 -0700)
commit2f5d532f3b8a7697dc1b5700000b1e350323d50c
tree07e3089822b28a37bf0f0264c273094763d778cb
parent543bd27353d2c5679057fe09aa2d02259687ff32
power: regulator: Introduce regulator_set_value_force function

In case we want to force a particular value on a regulator
irrespective of the min/max constraints for testing purposes
one can call regulator_set_value_force function.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/regulator.c
drivers/power/regulator/regulator-uclass.c
include/power/regulator.h