Skip to content
Commit 8d771f1d authored by Peter Bigot's avatar Peter Bigot Committed by Anas Nashif
Browse files

device: move device power management state into common dynamic state



This avoids the need for distinct object that uses flash to store its
initializer.  Instead the state is initialized when the kernel is
starting up, before anything can reference it.  In future refactoring
the PM state could be accessed directly without storing an extra
pointer in the static device state.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 1cadd8b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment