zephyr/subsys/pm
Carlo Caione 9930c346af pm: policy: Selectively compile on "zephyr,power-state" compatible
Coverity is complaining:

      CID 316017:  Control flow issues  (NO_EFFECT)
  >>> This less-than-zero comparison of an unsigned value is never true.
  148      for (size_t i = 0; i < ARRAY_SIZE(substate_lock_t); i++) {

This is a false positive but we can still optimize the code and making
coverity happy by simply avoiding compiling the offending code when no
power states are defined into the DT.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2023-06-02 18:56:39 -04:00
..
CMakeLists.txt
Kconfig pm: runtime: Migrate from condition variables to events 2022-12-15 22:35:38 +01:00
device.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
device_runtime.c pm: mark pm_device_runtime_auto_enable as boot function 2023-03-31 14:31:52 -04:00
pm.c pm: Fix cpus active count 2023-06-01 10:05:31 +02:00
pm_stats.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
pm_stats.h
policy.c pm: policy: Selectively compile on "zephyr,power-state" compatible 2023-06-02 18:56:39 -04:00
state.c pm: state: use DT_FOREACH_CHILD_SEP 2022-08-30 16:19:57 +02:00