aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/palmas-regulator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index cde13bb5a8fb..4f86f6cab620 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -553,17 +553,17 @@ 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 ret = of_property_read_u32(palmas_matches[idx].of_node, 555 ret = of_property_read_u32(palmas_matches[idx].of_node,
556 "ti,warm_reset", &prop); 556 "ti,warm-reset", &prop);
557 if (!ret) 557 if (!ret)
558 pdata->reg_init[idx]->warm_reset = prop; 558 pdata->reg_init[idx]->warm_reset = prop;
559 559
560 ret = of_property_read_u32(palmas_matches[idx].of_node, 560 ret = of_property_read_u32(palmas_matches[idx].of_node,
561 "ti,roof_floor", &prop); 561 "ti,roof-floor", &prop);
562 if (!ret) 562 if (!ret)
563 pdata->reg_init[idx]->roof_floor = prop; 563 pdata->reg_init[idx]->roof_floor = prop;
564 564
565 ret = of_property_read_u32(palmas_matches[idx].of_node, 565 ret = of_property_read_u32(palmas_matches[idx].of_node,
566 "ti,mode_sleep", &prop); 566 "ti,mode-sleep", &prop);
567 if (!ret) 567 if (!ret)
568 pdata->reg_init[idx]->mode_sleep = prop; 568 pdata->reg_init[idx]->mode_sleep = prop;
569 569
@@ -578,7 +578,7 @@ static void palmas_dt_to_pdata(struct device *dev,
578 pdata->reg_init[idx]->vsel = prop; 578 pdata->reg_init[idx]->vsel = prop;
579 } 579 }
580 580
581 ret = of_property_read_u32(node, "ti,ldo6_vibrator", &prop); 581 ret = of_property_read_u32(node, "ti,ldo6-vibrator", &prop);
582 if (!ret) 582 if (!ret)
583 pdata->ldo6_vibrator = prop; 583 pdata->ldo6_vibrator = prop;
584} 584}