zephyr/subsys/pm
Flavio Ceolin b8ce176109 pm: policy: Fix possible undefined reference
When PM_POLICY_DEVICE_CONSTRAINTS is enabled, we create a list of
devices with the property “zephyr,disabling-power-states” and their
respective states to lock. However, if a device is declared but not
built (e.g., due to a Kconfig option), we have an undefined reference.

This PR changes the code to use the device name instead of the
reference. This increases lookup time (which could be cached at
runtime), and we still have an entry for a non-existent device.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-02-08 04:06:29 +01:00
..
policy pm: policy: Fix possible undefined reference 2025-02-08 04:06:29 +01:00
CMakeLists.txt pm: policy: split policy APIs implementations 2024-10-24 17:50:44 +02:00
device_runtime.c pm: device_runtime: Optimize pm_device_runtime_usage 2024-11-26 15:43:21 -05:00
device_system_managed.c pm: device: De-couple device pm from system pm 2024-06-04 19:13:53 -04:00
device_system_managed.h pm: device_system_managed: Fix functions return 2024-06-18 19:56:39 -04:00
device.c pm: device: allow optional support of TURN_ON action 2024-09-30 17:11:20 +01:00
Kconfig doc: releases: 4.1: Document removed PM symbol 2025-01-31 07:50:17 +01:00
pm_shell.c shell: use shell_device_get_binding 2024-12-18 15:32:10 +01: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
pm.c pm: fix warning for missing initializer 2024-12-09 01:40:18 +01:00
state.c pm: state: allow disabling certain power states 2023-07-26 16:49:00 +02:00