Searched refs:devm_matches (Results 1 – 1 of 1) sorted by relevance
279 struct devm_of_regulator_matches *devm_matches = res; in devm_of_regulator_put_matches() local282 for (i = 0; i < devm_matches->num_matches; i++) in devm_of_regulator_put_matches()283 of_node_put(devm_matches->matches[i].of_node); in devm_of_regulator_put_matches()312 struct devm_of_regulator_matches *devm_matches; in of_regulator_match() local317 devm_matches = devres_alloc(devm_of_regulator_put_matches, in of_regulator_match()320 if (!devm_matches) in of_regulator_match()323 devm_matches->matches = matches; in of_regulator_match()324 devm_matches->num_matches = num_matches; in of_regulator_match()326 devres_add(dev, devm_matches); in of_regulator_match()