]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ACPI: Don't print internal BIOS names of wakeup devices
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 3 Apr 2006 17:14:00 +0000 (13:14 -0400)
committerLen Brown <len.brown@intel.com>
Mon, 3 Apr 2006 20:06:47 +0000 (16:06 -0400)
Internal BIOS names like these should be exposed
to the user as little as possible:

ACPI wakeup devices: C069 C0CE C1D1 C0DE C1D4

Eventually, the "wakeup" property of a device should be exported via the
device tree, not by a printk of an internal BIOS name.  For the hard-core,
these are still available in /proc/acpi/wakeup_devices, just not
printed to dmesg.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep/wakeup.c

index 85df0ceda2a901277f49108b3cd292c8b980ce8e..af1dbabaf0b1d299277fe65727eed95778751c1d 100644 (file)
@@ -155,7 +155,6 @@ static int __init acpi_wakeup_device_init(void)
 
        if (acpi_disabled)
                return 0;
-       printk("ACPI wakeup devices: \n");
 
        spin_lock(&acpi_device_lock);
        list_for_each_safe(node, next, &acpi_wakeup_device_list) {
@@ -174,10 +173,8 @@ static int __init acpi_wakeup_device_init(void)
                        dev->wakeup.state.enabled = 1;
                        spin_lock(&acpi_device_lock);
                }
-               printk("%4s ", dev->pnp.bus_id);
        }
        spin_unlock(&acpi_device_lock);
-       printk("\n");
 
        return 0;
 }