diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-06-18 01:59:02 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-18 05:46:57 -0400 |
commit | 086ccd4379ad6c9c7c7713ef5f61b9d12e995147 (patch) | |
tree | e6dcd3c7732bf171e2a938ad1e72615ccbce0b1f /drivers/regulator/of_regulator.c | |
parent | 6f0b2c696ca340cc2da381fe693fda3f8fdb2149 (diff) |
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.c | 2 |
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, | |||
63 | 63 | ||
64 | ramp_delay = of_get_property(np, "regulator-ramp-delay", NULL); | 64 | ramp_delay = of_get_property(np, "regulator-ramp-delay", NULL); |
65 | if (ramp_delay) | 65 | if (ramp_delay) |
66 | constraints->min_uV = be32_to_cpu(*ramp_delay); | 66 | constraints->ramp_delay = be32_to_cpu(*ramp_delay); |
67 | } | 67 | } |
68 | 68 | ||
69 | /** | 69 | /** |