'\" t .\" Title: devres_open_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_OPEN_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_open_group \- Open a new devres group .SH "SYNOPSIS" .HP \w'void\ *\ devres_open_group('u .BI "void * devres_open_group(struct\ device\ *\ " "dev" ", void\ *\ " "id" ", gfp_t\ " "gfp" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 Device to open devres group for .RE .PP \fIid\fR .RS 4 Separator ID .RE .PP \fIgfp\fR .RS 4 Allocation flags .RE .SH "DESCRIPTION" .PP Open a new devres group for \fIdev\fR with \fIid\fR\&. For \fIid\fR, using a pointer to an object which won\*(Aqt be used for another group is recommended\&. If \fIid\fR is NULL, address\-wise unique ID is created\&. .SH "RETURN" .PP ID of the new group, NULL on failure\&. .SH "COPYRIGHT" .br