subsys_dev_iter_init9
Initialize subsys device iterator
Usage
void subsys_dev_iter_init(struct subsys_dev_iter * iter, struct bus_type * subsys, struct device * start, const struct device_type * type);
Arguments
iter
subsys iterator to initialize
subsys
the subsys we wanna iterate over
start
the device to start iterating from, if any
type
device_type of the devices to iterate over, NULL for all
Overview
Initialize subsys iterator iter such that it iterates over devices of subsys. If start is set, the list iteration will start there, otherwise if it is NULL, the iteration starts at the beginning of the list.
Releases
2 releases since Debian 7 (Wheezy); the text changed 1 time.