ACPI: Device [kobj-name] is not power manageable
authorJae-hyeon Park <hpark@tuhep.phys.tohoku.ac.jp>
Tue, 27 Jun 2006 02:34:03 +0000 (22:34 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 27 Jun 2006 04:00:40 +0000 (00:00 -0400)
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>
drivers/acpi/bus.c

index 917bf2397b22c85e7b707f676260994d39565ee0..f4a36d372cac8e4b1df06a839044d88d2884b2fd 100644 (file)
@@ -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);
        }
        /*