[RFC 3/7] PM / Domains: prepare for devices that might register a power state

2015-09-25 Thread Marc Titinger
From: Marc Titinger Devices may register an intermediate retention state into the domain upon attaching. Currently generic domain would register an array of states upon init. This patch prepares for later insertion (sort per depth, remove). Signed-off-by: Marc Titinger ---

[RFC 3/7] PM / Domains: prepare for devices that might register a power state

2015-09-25 Thread Marc Titinger
From: Marc Titinger Devices may register an intermediate retention state into the domain upon attaching. Currently generic domain would register an array of states upon init. This patch prepares for later insertion (sort per depth, remove). Signed-off-by: Marc Titinger