Searched refs:chg_regs (Results 1 – 1 of 1) sorted by relevance
1349 struct charger_regulator *chg_regs; in of_cm_parse_desc() local1352 chg_regs = devm_kcalloc(dev, in of_cm_parse_desc()1354 sizeof(*chg_regs), in of_cm_parse_desc()1356 if (!chg_regs) in of_cm_parse_desc()1359 desc->charger_regulators = chg_regs; in of_cm_parse_desc()1373 &chg_regs->regulator_name); in of_cm_parse_desc()1376 chg_regs->num_cables = of_get_child_count(child); in of_cm_parse_desc()1377 if (chg_regs->num_cables) { in of_cm_parse_desc()1379 chg_regs->num_cables, in of_cm_parse_desc()1387 chg_regs->cables = cables; in of_cm_parse_desc()[all …]