---
name: "devres_remove_group"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/devres_remove_group"
---

# devres\_remove\_group(9)

Remove a devres group

## NAME

devres\_remove\_group - Remove a devres group

## SYNOPSIS

**void devres\_remove\_group(struct device \*** *dev***, void \*** *id***);**

## ARGUMENTS

*dev*

Device to remove group for

*id*

ID of target group, can be NULL

## DESCRIPTION

Remove the group identified by *id*. If *id* is NULL, the latest open group is selected. Note that removing a group doesn't affect any other resources.

## COPYRIGHT
