]> git.baikalelectronics.ru Git - kernel.git/commit
PM: Remove WARN_ON from device_pm_add
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 8 Aug 2008 23:05:13 +0000 (01:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Aug 2008 17:15:37 +0000 (10:15 -0700)
commit9d3cd0c63250786c43c9212f10ce348be8228b0c
tree9d5eb758a374684a53f1b55a560d728d3213d2d3
parent4e7eaf8af7e8a8eda8a0b1eb018e47d4de21f59b
PM: Remove WARN_ON from device_pm_add

PM: Remove WARN_ON from device_pm_add

Fix message in device_pm_add() saying that the device will not be
added to dpm_list, although in fact the device is going to be added
to the list regardless of the ordering violation.

Remove the WARN_ON(true) triggered in that situation, because it is
hit by USB very often and spams the users' logs.

This patch fixes bug #11263

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/main.c