[ACPI] quiet dmesg related to ACPI PM of PCI devices
authorDavid Shaohua Li <shaohua.li@intel.com>
Tue, 19 Apr 2005 02:59:23 +0000 (22:59 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 12 Jul 2005 04:09:42 +0000 (00:09 -0400)
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 <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/glue.c

index b6d2045..770cfc8 100644 (file)
@@ -29,7 +29,7 @@ int register_acpi_bus_type(struct acpi_bus_type *type)
                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_bus_type *type)
                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 device *dev)
        }
        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);