aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tps65910.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/tps65910.c')
-rw-r--r--drivers/mfd/tps65910.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index 72f2e789ab83..c0f608e3ca9e 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -411,14 +411,10 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
411 ret = of_property_read_u32(np, "ti,vmbch-threshold", &prop); 411 ret = of_property_read_u32(np, "ti,vmbch-threshold", &prop);
412 if (!ret) 412 if (!ret)
413 board_info->vmbch_threshold = prop; 413 board_info->vmbch_threshold = prop;
414 else if (*chip_id == TPS65911)
415 dev_warn(&client->dev, "VMBCH-Threshold not specified");
416 414
417 ret = of_property_read_u32(np, "ti,vmbch2-threshold", &prop); 415 ret = of_property_read_u32(np, "ti,vmbch2-threshold", &prop);
418 if (!ret) 416 if (!ret)
419 board_info->vmbch2_threshold = prop; 417 board_info->vmbch2_threshold = prop;
420 else if (*chip_id == TPS65911)
421 dev_warn(&client->dev, "VMBCH2-Threshold not specified");
422 418
423 prop = of_property_read_bool(np, "ti,en-ck32k-xtal"); 419 prop = of_property_read_bool(np, "ti,en-ck32k-xtal");
424 board_info->en_ck32k_xtal = prop; 420 board_info->en_ck32k_xtal = prop;