Searched refs:devm_matches (Results 1 – 1 of 1) sorted by relevance
376 struct devm_of_regulator_matches *devm_matches = res; in devm_of_regulator_put_matches() local379 for (i = 0; i < devm_matches->num_matches; i++) in devm_of_regulator_put_matches()380 of_node_put(devm_matches->matches[i].of_node); in devm_of_regulator_put_matches()409 struct devm_of_regulator_matches *devm_matches; in of_regulator_match() local414 devm_matches = devres_alloc(devm_of_regulator_put_matches, in of_regulator_match()417 if (!devm_matches) in of_regulator_match()420 devm_matches->matches = matches; in of_regulator_match()421 devm_matches->num_matches = num_matches; in of_regulator_match()423 devres_add(dev, devm_matches); in of_regulator_match()