summaryrefslogtreecommitdiff
path: root/drivers/regulator/of_regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-18 09:59:02 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-18 13:46:57 +0400
commit086ccd4379ad6c9c7c7713ef5f61b9d12e995147 (patch)
treee6dcd3c7732bf171e2a938ad1e72615ccbce0b1f /drivers/regulator/of_regulator.c
parent6f0b2c696ca340cc2da381fe693fda3f8fdb2149 (diff)
downloadlinux-086ccd4379ad6c9c7c7713ef5f61b9d12e995147.tar.xz
regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/of_regulator.c')
-rw-r--r--drivers/regulator/of_regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/of_regulator.c b/drivers/regulator/of_regulator.c
index e2a731079066..68dc3d43dd37 100644
--- a/drivers/regulator/of_regulator.c
+++ b/drivers/regulator/of_regulator.c
@@ -63,7 +63,7 @@ static void of_get_regulation_constraints(struct device_node *np,
ramp_delay = of_get_property(np, "regulator-ramp-delay", NULL);
if (ramp_delay)
- constraints->min_uV = be32_to_cpu(*ramp_delay);
+ constraints->ramp_delay = be32_to_cpu(*ramp_delay);
}
/**