- void * devres_alloc(dr_release_t release, size_t size, gfp_t gfp);
- Release function devres will be associated with
- Allocation size
- Allocation flags
Allocate devres of size bytes. The allocated area is zeroed, then associated with release. The returned pointer can be passed to other devres_*() functions.
Pointer to allocated devres on success, NULL on failure.