cce7165ea4
Use a smaller ordinal type than int to hold the global index identifying devices that support power management. Use an upper bound instead of an array of flags to identify the devices that were successfully suspended. Only attempt pm on devices that provide a non-default pm control function. Use shorter more descriptive names for state variables. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
---|---|---|
.. | ||
policy | ||
CMakeLists.txt | ||
Kconfig | ||
device.c | ||
device_pm.c | ||
pm_ctrl.c | ||
power.c | ||
reboot.c |