Skip to content
Commit 65ebecbf authored by Declan Snyder's avatar Declan Snyder Committed by Benjamin Cabé
Browse files

pm: refactor policy_device_ get/put



Refactor this code so it has less nesting and is able to share some code
between functions, by making a function to find the device constraints
object which can be called before doing operations using it.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent 481a2faf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment