Provided by: linux-doc-2.6.15_2.6.15-23.39_all
device_for_each_child - device child iterator.
int device_for_each_child (struct device * parent, void * data,
int (*fn) <funcparams>struct device *, void *</funcparams>);
parent parent struct device.
data data for the callback.
fn function to be called for each device.
Iterate over parent’s child devices, and call fn for each, passing it
We check the return of fn each time. If it returns anything other than
0, we break out and return that value.