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>
This commit is contained in:
Jae-hyeon Park 2006-06-26 22:34:03 -04:00 коммит произвёл Len Brown
Родитель 9e7e2c0475
Коммит 64dedfb8fd
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -196,7 +196,8 @@ int acpi_bus_set_power(acpi_handle handle, int state)
/* Make sure this is a valid target state */
if (!device->flags.power_manageable) {
ACPI_INFO((AE_INFO, "Device is not power manageable"));
printk(KERN_DEBUG "Device `[%s]is not power manageable",
device->kobj.name);
return_VALUE(-ENODEV);
}
/*