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/ >From pavel@xxxxxx Thu Feb 21 13:36:22 2008 From: Pavel Machek <pavel@xxxxxx> Date: Thu, 21 Feb 2008 13:58:10 +0100 Subject: power_state: remove it from driver core To: kernel list <linux-kernel@xxxxxxxxxxxxxxx>, Linux-pm mailing list <linux-pm@xxxxxxxxxxxxxx>, "Rafael J. Wysocki" <rjw@xxxxxxx>, Greg KH <greg@xxxxxxxxx> Message-ID: <20080221125809.GA30308@xxxxxxxxxx> Content-Disposition: inline power_state is scheduled for removal, and it is used only for debug prints by driver core. Remove it. Signed-off-by: Pavel Machek <pavel@xxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx> --- drivers/base/power/main.c | 5 ----- 1 file changed, 5 deletions(-) --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c @@ -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 pavel@xxxxxx 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 _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm