Skip to content
Commit e1f20f36 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

pm: policy: Move device power state constraints to policy



Move information about device power state constraints from device
to policy.

It slows down the constraints lookup since we now have to find the
constraints for a device in a global array, but it saves resources
because we don't need to add a reference to constraints in all devices
instances.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent c6ef6941
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment