1CLASS_DEV_ITER_NEXT(9) Device drivers infrastructure CLASS_DEV_ITER_NEXT(9)
2
3
4
6 class_dev_iter_next - iterate to the next device
7
9 struct device * class_dev_iter_next(struct class_dev_iter * iter);
10
12 iter
13 class iterator to proceed
14
16 Proceed iter to the next device and return it. Returns NULL if
17 iteration is complete.
18
19 The returned device is referenced and won´t be released till iterator
20 is proceed to the next device or exited. The caller is free to do
21 whatever it wants to do with the device including calling back into
22 class code.
23
25Kernel Hackers Manual 2.6. June 2019 CLASS_DEV_ITER_NEXT(9)