Searched refs:chg_regs (Results 1 – 1 of 1) sorted by relevance
1347 struct charger_regulator *chg_regs; in of_cm_parse_desc() local1350 chg_regs = devm_kcalloc(dev, in of_cm_parse_desc()1352 sizeof(*chg_regs), in of_cm_parse_desc()1354 if (!chg_regs) in of_cm_parse_desc()1357 desc->charger_regulators = chg_regs; in of_cm_parse_desc()1371 &chg_regs->regulator_name); in of_cm_parse_desc()1374 chg_regs->num_cables = of_get_child_count(child); in of_cm_parse_desc()1375 if (chg_regs->num_cables) { in of_cm_parse_desc()1377 chg_regs->num_cables, in of_cm_parse_desc()1385 chg_regs->cables = cables; in of_cm_parse_desc()[all …]