PCI: pci_has_legacy_pm_support add driver and device to WARN
authorDavid Fries <David@Fries.net>
Sun, 20 Nov 2011 21:29:46 +0000 (15:29 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 6 Jan 2012 20:10:30 +0000 (12:10 -0800)
commit82440a8253e09047410ff4df5c202be15645573f
tree9cb1f4f208a5d26079aef26bbef3fad54630d120
parentd5dea7d95c48d7bc951cee4910a7fd9c0cd26fb0
PCI: pci_has_legacy_pm_support add driver and device to WARN

Include the driver name and device in warning when a pci driver
supports both legacy pm and new framework as just the stack trace
gives no way to identify the driver.

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-driver.c