WSL2-Linux-Kernel/drivers/base/power
Rafael J. Wysocki f5a6d958b5 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>
2008-08-21 10:15:37 -07:00
..
Makefile PM: Make PM_TRACE more architecture independent 2008-02-01 18:30:54 -05:00
main.c PM: Remove WARN_ON from device_pm_add 2008-08-21 10:15:37 -07:00
power.h PM: don't skip device PM init when CONFIG_PM_SLEEP isn't set and CONFIG_PM is set 2008-08-21 10:15:36 -07:00
sysfs.c PCI ACPI: Rework PCI handling of wake-up 2008-07-07 16:26:28 -07:00
trace.c driver core: fix a lot of printk usages of bus_id 2008-07-21 21:54:53 -07:00