zephyr/drivers/sensor/lis2mdl
Gerard Marull-Paretas 7ccc1a41bc pm: use actions for device PM control
Instead of passing target states, use actions for device PM control.
Actions represent better the meaning of the callback argument.
Furthermore, they are more future proof as they can be suitable for
other PM actions that have no direct mapping to a state. If we compare
with Linux, we could have a multi-stage suspend/resume. Such scenario
would not have a good mapping when using target states.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-08-04 08:23:01 -04:00
..
CMakeLists.txt drivers: sensor: clean up zephyr_library calls 2021-06-30 09:36:33 -04:00
Kconfig drivers/sensor: lis2mdl: Add multi-instance support 2021-06-04 16:29:45 -05:00
lis2mdl_trigger.c drivers/sensor: lis2mdl: Add multi-instance support 2021-06-04 16:29:45 -05:00
lis2mdl.c pm: use actions for device PM control 2021-08-04 08:23:01 -04:00
lis2mdl.h pm: device: remove usage of local states 2021-08-04 08:23:01 -04:00