Skip to content
Commit 9e9fb319 authored by Jordan Yates's avatar Jordan Yates Committed by Anas Nashif
Browse files

pm: device: helper for running actions on children



Adds a helper function for running PM actions on child devices. A custom
implementation of `device_supported_foreach` is used as we don't
necessarily want the early exit behaviour of that function in the power
domain context.

The early exit behaviour can be obained through a return value in the
failure callback if that is desired.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 79f382e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment