summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorFinley Xiao <finley.xiao@rock-chips.com>2018-04-19 14:53:05 +0800
committerTao Huang <huangtao@rock-chips.com>2018-04-19 18:34:36 +0800
commita4e0323d131b00b4d12cbbda42a7ea32dc5d72b6 (patch)
tree25e3b6877594f022935d9c106c67e869d5e56013 /drivers/regulator
parent1c571cf22819b8e1120a2b6b3e305acde8a1505b (diff)
regulator: of: Use regulator-init-microvolt as early minimum
Change-Id: If491089520b3228484357e08482ae0e955b1226a Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Diffstat (limited to 'drivers/regulator')
-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 01060076dd78..3e829496ba81 100644
--- a/drivers/regulator/of_regulator.c
+++ b/drivers/regulator/of_regulator.c
@@ -42,7 +42,7 @@ static void of_get_regulation_constraints(struct device_node *np,
if (!of_property_read_u32(np, "regulator-max-microvolt", &pval))
constraints->max_uV = pval;
- if (!of_property_read_u32(np, "regulator-early-min-microvolt", &pval))
+ if (!of_property_read_u32(np, "regulator-init-microvolt", &pval))
constraints->early_min_uV = pval;
/* Voltage change possible? */