devres_get — Find devres, if non-existent, add one atomically
void * devres_get ( | struct device * dev, |
void * new_res, | |
dr_match_t match, | |
void * match_data) ; |
dev
Device to lookup or add devres for
new_res
Pointer to new initialized devres to add if not found
match
Match function (optional)
match_data
Data for the match function