zephyr/include/pm
Gerard Marull-Paretas 90465fe537 device: improve device data initialization
The Z_DEVICE_STATE_DEFINE macro was conditioned by CONFIG_PM_DEVICE.
This is a problem if one day we have other conditional fields in the
device state field that need to be initialized. The approach has been
changed to have an always existing initializer for the PM field, that is
a no-op if device PM is not enabled.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-08-27 09:06:51 -04:00
..
device_runtime.h pm: device_runtime: Change API behavior s/_sync/_async 2021-05-26 10:56:55 -04:00
device.h device: improve device data initialization 2021-08-27 09:06:51 -04:00
pm.h pm: refine defination of pm_dump_debug_info() 2021-08-19 10:19:24 -04:00
policy.h pm: policy: Fix API documentation 2021-06-14 21:48:27 -04:00
state.h pm: state: Fix documentation 2021-06-14 17:37:27 -04:00