table of contents
other versions
- jessie 3.16.56-1+deb8u1
SUBSYS_DEV_ITER_NEXT(9) | Device drivers infrastructure | SUBSYS_DEV_ITER_NEXT(9) |
NAME¶
subsys_dev_iter_next - iterate to the next deviceSYNOPSIS¶
struct device *
subsys_dev_iter_next(struct subsys_dev_iter * iter);
ARGUMENTS¶
itersubsys iterator to proceed
DESCRIPTION¶
Proceed iter to the next device and return it. Returns NULL if iteration is complete. The returned device is referenced and won't 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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |