zephyr/tests/subsys/pm/power_mgmt
Gerard Marull-Paretas 696caa0524 pm: policy: return a reference to the next state
Return a constant reference to the next state instead of a copy of
struct pm_state_info. When the next state should be active, just return
NULL. Struct copying should be in general avoided, specially in code
paths executed frequently as is this one.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-01-11 10:46:20 +01:00
..
boards tests: pm: Test devices suspend/resume order 2021-11-09 19:57:59 -05:00
dts/bindings tests: pm: Test devices suspend/resume order 2021-11-09 19:57:59 -05:00
src pm: policy: return a reference to the next state 2022-01-11 10:46:20 +01:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf pm: rename CONFIG_PM_DEVICE_IDLE to CONFIG_PM_DEVICE_RUNTIME 2021-05-05 18:35:49 -04:00
testcase.yaml tests: pm: s/power/pm tag 2021-12-10 07:43:01 -05:00