Searched refs:chg_regs (Results 1 – 1 of 1) sorted by relevance
1542 struct charger_regulator *chg_regs; in of_cm_parse_desc() local1545 chg_regs = devm_kcalloc(dev, in of_cm_parse_desc()1547 sizeof(*chg_regs), in of_cm_parse_desc()1549 if (!chg_regs) in of_cm_parse_desc()1552 desc->charger_regulators = chg_regs; in of_cm_parse_desc()1566 &chg_regs->regulator_name); in of_cm_parse_desc()1569 chg_regs->num_cables = of_get_child_count(child); in of_cm_parse_desc()1570 if (chg_regs->num_cables) { in of_cm_parse_desc()1572 chg_regs->num_cables, in of_cm_parse_desc()1580 chg_regs->cables = cables; in of_cm_parse_desc()[all …]