Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Dmitry Torokhov <dtor <at> insightbb.com>
Subject: [RFC/PATCH 0/3] Integrating struct class_device into power management framework
Newsgroups: gmane.linux.power-management.general
Date: Wednesday 11th October 2006 06:01:38 UTC (over 11 years ago)
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
 
CD: 2ms