]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 6 Dec 2011 17:26:06 +0000 (09:26 -0800)
commit923d09309ab7ead882e147f9c00a2ab13407c7ee
tree45247f9269ec2b7f565e3ab4b259e726846c3872
parentd3fe695b816e2f33ee816ee0c69ccd95a830206f
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