1. NAME▲

subsys_dev_iter_next - iterate to the next device

2. SYNOPSIS ▲

struct device * subsys_dev_iter_next(struct subsys_dev_iter *  iter );

3. ARGUMENTS ▲

iter
    subsys iterator to proceed

4. DESCRIPTION ▲

Proceed iter to the next device and return it. Returns NULL if iteration is complete.

The returned device is referenced and wonAqt 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.

5. COPYRIGHT ▲