aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/palmas-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index c25c2ff48305..122fea432d38 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -553,8 +553,8 @@ static void palmas_dt_to_pdata(struct device *dev,
553 sizeof(struct palmas_reg_init), GFP_KERNEL); 553 sizeof(struct palmas_reg_init), GFP_KERNEL);
554 554
555 pdata->reg_init[idx]->warm_reset = 555 pdata->reg_init[idx]->warm_reset =
556 of_property_read_u32(palmas_matches[idx].of_node, 556 of_property_read_bool(palmas_matches[idx].of_node,
557 "ti,warm-reset", &prop); 557 "ti,warm-reset");
558 558
559 pdata->reg_init[idx]->roof_floor = 559 pdata->reg_init[idx]->roof_floor =
560 of_property_read_bool(palmas_matches[idx].of_node, 560 of_property_read_bool(palmas_matches[idx].of_node,