'\" t .\" Title: devres_release_group .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DEVRES_RELEASE_GROUP" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" devres_release_group \- Release resources in a devres group .SH "SYNOPSIS" .HP \w'int\ devres_release_group('u .BI "int devres_release_group(struct\ device\ *\ " "dev" ", void\ *\ " "id" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 Device to release group for .RE .PP \fIid\fR .RS 4 ID of target group, can be NULL .RE .SH "DESCRIPTION" .PP Release all resources in the group identified by \fIid\fR\&. If \fIid\fR is NULL, the latest open group is selected\&. The selected group and groups properly nested inside the selected group are removed\&. .SH "RETURN" .PP The number of released non\-group resources\&. .SH "COPYRIGHT" .br