commit | 9e9fb319a7af517f9876be41e34efd11bc9970ea | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Wed Jan 05 17:45:10 2022 +1000 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Jan 19 13:35:32 2022 -0500 |
tree | 7bdc0b2d8d28fb79e4b2ea3c3f805e817731292a | |
parent | 79f382e96e58c2d39baae369295015f2d4dd0349 [diff] |
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: Jordan Yates <jordan.yates@data61.csiro.au>