'\" t .\" Title: subsys_dev_iter_next .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SUBSYS_DEV_ITER_NEXT" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * 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" subsys_dev_iter_next \- iterate to the next device .SH "SYNOPSIS" .HP \w'struct\ device\ *\ subsys_dev_iter_next('u .BI "struct device * subsys_dev_iter_next(struct\ subsys_dev_iter\ *\ " "iter" ");" .SH "ARGUMENTS" .PP \fIiter\fR .RS 4 subsys iterator to proceed .RE .SH "DESCRIPTION" .PP Proceed \fIiter\fR to the next device and return it\&. Returns NULL if iteration is complete\&. .PP The returned device is referenced and won\*(Aqt be released till iterator is proceed to the next device or exited\&. The caller is free to do whatever it wants to do with the device including calling back into subsys code\&. .SH "COPYRIGHT" .br