pm_register -- register a device with power management
struct pm_dev * pm_register
(pm_dev_t type, unsigned long id, pm_callback callback);
Add a device to the list of devices that wish to be notified about
power management events. A &pm_dev structure is returned on success,
on failure the return is NULL.