Searched refs:chg_regs (Results 1 – 1 of 1) sorted by relevance
1557 struct charger_regulator *chg_regs; in of_cm_parse_desc() local1560 chg_regs = devm_kcalloc(dev, in of_cm_parse_desc()1562 sizeof(*chg_regs), in of_cm_parse_desc()1564 if (!chg_regs) in of_cm_parse_desc()1567 desc->charger_regulators = chg_regs; in of_cm_parse_desc()1574 &chg_regs->regulator_name); in of_cm_parse_desc()1577 chg_regs->num_cables = of_get_child_count(child); in of_cm_parse_desc()1578 if (chg_regs->num_cables) { in of_cm_parse_desc()1580 chg_regs->num_cables, in of_cm_parse_desc()1588 chg_regs->cables = cables; in of_cm_parse_desc()[all …]