Home
last modified time | relevance | path

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

/device/soc/rockchip/common/sdk_linux/drivers/regulator/
H A Dof_regulator.c307 struct devm_of_regulator_matches *devm_matches = res; in devm_of_regulator_put_matches() local
310 for (i = 0; i < devm_matches->num_matches; i++) { in devm_of_regulator_put_matches()
311 of_node_put(devm_matches->matches[i].of_node); in devm_of_regulator_put_matches()
340 struct devm_of_regulator_matches *devm_matches; in of_regulator_match() local
346 devm_matches = devres_alloc(devm_of_regulator_put_matches, sizeof(struct devm_of_regulator_matches), GFP_KERNEL); in of_regulator_match()
347 if (!devm_matches) { in of_regulator_match()
351 devm_matches->matches = matches; in of_regulator_match()
352 devm_matches->num_matches = num_matches; in of_regulator_match()
354 devres_add(dev, devm_matches); in of_regulator_match()

Completed in 2 milliseconds