pm_find

Name

pm_find --  find a device

Synopsis

struct pm_dev * pm_find (pm_dev_t type, struct pm_dev * from);

Arguments

type

type of device

from

where to start looking

Description

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 list.

To search from the beginning pass NULL as the from value.