power_state: remove it from driver core
Subsystems (4)
power_state is scheduled for removal, and it is used only for debug prints by driver core. Remove it.
drivers/base/power/main.c +0 -5
@@ -421,11 +421,6 @@ int suspend_device(struct device *dev, p {int error =0 ; -if (dev->power.power_state.event) { -dev_dbg (dev,"PM: suspend %d-->%d\n" , - dev->power.power_state.event, state.event); - } -if (dev->class && dev->class->suspend) {suspend_device_dbg (dev, state,"class " ); error = dev->class->suspend (dev, state);
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[email protected]
Appliedpatch power_state-remove-it-from-driver-core.patch added to gregkh-2.6 tree
This is a note to let you know that I've just added the patch titled
Subject: power_state: remove it from driver core
to my gregkh-2.6 tree. Its filename is
power_state-remove-it-from-driver-core.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
Quoted 1 line
From [email protected] Thu Feb 21 13:36:22 2008
From: Pavel Machek <[email protected]>
Date: Thu, 21 Feb 2008 13:58:10 +0100
Subject: power_state: remove it from driver core
To: kernel list <[email protected]>, Linux-pm mailing list <[email protected]>, "Rafael J. Wysocki" <[email protected]>, Greg KH <[email protected]>
Message-ID: <[email protected]>
Content-Disposition: inline
power_state is scheduled for removal, and it is used only for debug prints by driver core. Remove it.
--- drivers/base/power/main.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/base/power/main.c +0 -5
@@ -419,11 +419,6 @@ static int suspend_device(struct device {int error =0 ; -if (dev->power.power_state.event) { -dev_dbg (dev,"PM: suspend %d-->%d\n" , - dev->power.power_state.event, state.event); - } -if (dev->class && dev->class->suspend) {suspend_device_dbg (dev, state,"class " ); error = dev->class->suspend (dev, state);
Patches currently in gregkh-2.6 which might be from [email protected] are
driver/driver-core-pm-make-suspend_device-static.patch driver/pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch driver/power_state-remove-it-from-driver-core.patch usb/power_state-remove-it-from-usb.patch