Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: Device [kobj-name] is not power manageable

print kobj name in this message.
lenb changed to use printk.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>

authored by

Jae-hyeon Park and committed by
Len Brown
64dedfb8 9e7e2c04

+2 -1
+2 -1
drivers/acpi/bus.c
··· 196 196 /* Make sure this is a valid target state */ 197 197 198 198 if (!device->flags.power_manageable) { 199 - ACPI_INFO((AE_INFO, "Device is not power manageable")); 199 + printk(KERN_DEBUG "Device `[%s]is not power manageable", 200 + device->kobj.name); 200 201 return_VALUE(-ENODEV); 201 202 } 202 203 /*