Release resources in a devres group
int devres_release_group(struct device * dev, void * id);
dev
Device to release group for
id
ID of target group, can be NULL
Release all resources in the group identified by id. If id is NULL, the latest open group is selected. The selected group and groups properly nested inside the selected group are removed.
The number of released non-group resources.