Home
last modified time | relevance | path

Searched refs:devm_matches (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dof_regulator.c304 struct devm_of_regulator_matches *devm_matches = res; in devm_of_regulator_put_matches() local
307 for (i = 0; i < devm_matches->num_matches; i++) in devm_of_regulator_put_matches()
308 of_node_put(devm_matches->matches[i].of_node); in devm_of_regulator_put_matches()
337 struct devm_of_regulator_matches *devm_matches; in of_regulator_match() local
342 devm_matches = devres_alloc(devm_of_regulator_put_matches, in of_regulator_match()
345 if (!devm_matches) in of_regulator_match()
348 devm_matches->matches = matches; in of_regulator_match()
349 devm_matches->num_matches = num_matches; in of_regulator_match()
351 devres_add(dev, devm_matches); in of_regulator_match()