tree 51ec0e724b4278d3e1ee22c93d845335f7f5106c
parent 44f6c01242da4e162f28d8e1216a8c7a91174605
author David Shaohua Li <[EMAIL PROTECTED]> Tue, 19 Apr 2005 06:59:23 -0400
committer Len Brown <[EMAIL PROTECTED]> Tue, 12 Jul 2005 08:09:42 -0400

[ACPI] quiet dmesg related to ACPI PM of PCI devices

DBG("No ACPI bus support for %s\n", dev->bus_id);
http://bugzilla.kernel.org/show_bug.cgi?id=4277

Signed-off-by: David Shaohua Li <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>

 drivers/acpi/glue.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
--- a/drivers/acpi/glue.c
+++ b/drivers/acpi/glue.c
@@ -29,7 +29,7 @@ int register_acpi_bus_type(struct acpi_b
                down_write(&bus_type_sem);
                list_add_tail(&type->list, &bus_type_list);
                up_write(&bus_type_sem);
-               DBG("ACPI bus type %s registered\n", type->bus->name);
+               printk(KERN_INFO PREFIX "bus type %s registered\n", 
type->bus->name);
                return 0;
        }
        return -ENODEV;
@@ -45,7 +45,7 @@ int unregister_acpi_bus_type(struct acpi
                down_write(&bus_type_sem);
                list_del_init(&type->list);
                up_write(&bus_type_sem);
-               DBG("ACPI bus type %s unregistered\n", type->bus->name);
+               printk(KERN_INFO PREFIX "ACPI bus type %s unregistered\n", 
type->bus->name);
                return 0;
        }
        return -ENODEV;
@@ -314,14 +314,12 @@ static int acpi_platform_notify(struct d
        }
        type = acpi_get_bus_type(dev->bus);
        if (!type) {
-               printk(KERN_INFO PREFIX "No ACPI bus support for %s\n",
-                      dev->bus_id);
+               DBG("No ACPI bus support for %s\n", dev->bus_id);
                ret = -EINVAL;
                goto end;
        }
        if ((ret = type->find_device(dev, &handle)) != 0)
-               printk(KERN_INFO PREFIX "Can't get handler for %s\n",
-                      dev->bus_id);
+               DBG("Can't get handler for %s\n", dev->bus_id);
       end:
        if (!ret)
                acpi_bind_one(dev, handle);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to