---
name: "subsys_dev_iter_next"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/subsys_dev_iter_next"
---

# subsys\_dev\_iter\_next(9)

iterate to the next device

## NAME

subsys\_dev\_iter\_next - iterate to the next device

## SYNOPSIS

**struct device \* subsys\_dev\_iter\_next(struct subsys\_dev\_iter \*** *iter***);**

## ARGUMENTS

*iter*

subsys 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
