From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Trimarchi Subject: extend linux pm proposal Date: Fri, 03 Apr 2009 09:36:08 +0200 Message-ID: <49D5BC68.4020602@gandalf.sssup.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org Hi all, I would like to exetend the pm api, adding the possibilty to remove a device to the pm_list, with its child, so it is possible to select the devices to suspend. I take a look at the struct and I don't find the child list pointers, but only the parent. This possiblity can be usefull in cases that the system go to suspend but the hardware needs some devices used by onother subsystem. So adding a tree view of the dependences can give the possibility to remove from suspend list a entire subtree. device A < device_pm_remove call by user space remove the C and D device | \--------device C | \--------device D Regards Michael