提交 64dedfb8 编写于 作者: J Jae-hyeon Park 提交者: Len Brown

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

print kobj name in this message.
lenb changed to use printk.
Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 9e7e2c04
......@@ -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);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册