linux/drivers/base/power
Arjan van de Ven 728f08934b debug: use dev_WARN() rather than WARN_ON() in device_pm_add()
device_pm_add() has a WARN_ON that is showing relatively high on
kerneloops.org, but unfortunately the WARN_ON is less than useful
in that it doesn't print any information about what device is causing
the issue.

This patch fixes this by turning the WARN_ON() into the newly
introduces dev_WARN() which will print information about the
device in question.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-10-16 09:24:50 -07:00
..
main.c debug: use dev_WARN() rather than WARN_ON() in device_pm_add() 2008-10-16 09:24:50 -07:00
Makefile
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