Provided by: kernel-doc-2.4.27_2.4.27-12_all
pm_find - find a device
struct pm_dev * pm_find (pm_dev_t type, struct pm_dev *from);
type type of device
from where to start looking
Scan the power management list for devices of a specific type. The
return value for a matching device may be passed to further calls to
this function to find further matches. A NULL indicates the end of the
To search from the beginning pass NULL as the from value.
The caller MUST hold the pm_devs_lock lock when calling this function.
The instant that the lock is dropped all pointers returned may become