class_dev_iter_next
Prev | Device Drivers Base | Next

## Name

class_dev_iter_next — iterate to the next device

## Synopsis

`struct device * class_dev_iter_next (` | struct class_dev_iter * iter`)`;

## Arguments

`iter`

  class 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 class code.

Prev | Up | Next
class_dev_iter_init | Home | class_dev_iter_exit