Skip to content

Commit

Permalink
ACPI: Device [kobj-name] is not power manageable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jae-hyeon Park authored and Len Brown committed Jun 27, 2006
1 parent 9e7e2c0 commit 64dedfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acpi/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
/*
Expand Down

0 comments on commit 64dedfb

Please sign in to comment.