|
|
Subscribe / Log in / New account

[RFC/PATCH 0/3] Integrating struct class_device into power management framework

From:  Dmitry Torokhov <dtor@insightbb.com>
To:  linux-pm@lists.osdl.org
Subject:  [RFC/PATCH 0/3] Integrating struct class_device into power management framework
Date:  Wed, 11 Oct 2006 02:01:38 -0400
Cc:  Andrew Morton <akpm@osdl.org>, Kay Sievers <kay.sievers@vrfy.org>, linux-kernel@vger.kernel.org

Hi,

The following patches integrate class devices into common PM framework.
Classes can define 2 new methods: pause() and restart() that will be
called at suspend and resume time respectively. This will ease hardware
driver's tasks at suspend and resume time by moving common code into
classes.

The advantages of integrating class_device over moving to struct device:

 - no need to reshuffle entire kernel, subsystems can be converted
   one by one without a flag day;
 - struct device will not become a kitchen sink.

--
Dmitry


Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds