Query: class_dev_iter_next
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CLASS_DEV_ITER_NEXT(9) Device drivers infrastructure CLASS_DEV_ITER_NEXT(9)NAMEclass_dev_iter_next - iterate to the next deviceSYNOPSISstruct device * class_dev_iter_next(struct class_dev_iter * iter);ARGUMENTSiter class iterator to proceedDESCRIPTIONProceed 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 class code.COPYRIGHTKernel Hackers Manual 2.6. July 2010 CLASS_DEV_ITER_NEXT(9)