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 [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 <linux-kernel@vger.kernel.org>, 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. Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- 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 [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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/