This is a step towards phasing out DEVICE_INIT and just having DEVICE_DEFINE. To make it a little easier on users or DEVICE_DEFINE if they don't care about PM, they can just pass NULL for the pm_control_fn paramater. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
|---|---|---|
| .. | ||
| policy | ||
| CMakeLists.txt | ||
| device_pm.c | ||
| device.c | ||
| Kconfig | ||
| pm_ctrl.c | ||
| power.c | ||
| reboot.c | ||