diff options
author | David Shaohua Li <shaohua.li@intel.com> | 2005-04-18 22:59:23 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-12 00:09:42 -0400 |
commit | ef7b06cd905424aea7c31f27fef622e84e75e650 (patch) | |
tree | 51ec0e724b4278d3e1ee22c93d845335f7f5106c /drivers/acpi | |
parent | 44f6c01242da4e162f28d8e1216a8c7a91174605 (diff) |
[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 <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/glue.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c index b6d2045caf3e..770cfc8b17e0 100644 --- a/drivers/acpi/glue.c +++ b/drivers/acpi/glue.c | |||
@@ -29,7 +29,7 @@ int register_acpi_bus_type(struct acpi_bus_type *type) | |||
29 | down_write(&bus_type_sem); | 29 | down_write(&bus_type_sem); |
30 | list_add_tail(&type->list, &bus_type_list); | 30 | list_add_tail(&type->list, &bus_type_list); |
31 | up_write(&bus_type_sem); | 31 | up_write(&bus_type_sem); |
32 | DBG("ACPI bus type %s registered\n", type->bus->name); | 32 | printk(KERN_INFO PREFIX "bus type %s registered\n", type->bus->name); |
33 | return 0; | 33 | return 0; |
34 | } | 34 | } |
35 | return -ENODEV; | 35 | return -ENODEV; |
@@ -45,7 +45,7 @@ int unregister_acpi_bus_type(struct acpi_bus_type *type) | |||
45 | down_write(&bus_type_sem); | 45 | down_write(&bus_type_sem); |
46 | list_del_init(&type->list); | 46 | list_del_init(&type->list); |
47 | up_write(&bus_type_sem); | 47 | up_write(&bus_type_sem); |
48 | DBG("ACPI bus type %s unregistered\n", type->bus->name); | 48 | printk(KERN_INFO PREFIX "ACPI bus type %s unregistered\n", type->bus->name); |
49 | return 0; | 49 | return 0; |
50 | } | 50 | } |
51 | return -ENODEV; | 51 | return -ENODEV; |
@@ -314,14 +314,12 @@ static int acpi_platform_notify(struct device *dev) | |||
314 | } | 314 | } |
315 | type = acpi_get_bus_type(dev->bus); | 315 | type = acpi_get_bus_type(dev->bus); |
316 | if (!type) { | 316 | if (!type) { |
317 | printk(KERN_INFO PREFIX "No ACPI bus support for %s\n", | 317 | DBG("No ACPI bus support for %s\n", dev->bus_id); |
318 | dev->bus_id); | ||
319 | ret = -EINVAL; | 318 | ret = -EINVAL; |
320 | goto end; | 319 | goto end; |
321 | } | 320 | } |
322 | if ((ret = type->find_device(dev, &handle)) != 0) | 321 | if ((ret = type->find_device(dev, &handle)) != 0) |
323 | printk(KERN_INFO PREFIX "Can't get handler for %s\n", | 322 | DBG("Can't get handler for %s\n", dev->bus_id); |
324 | dev->bus_id); | ||
325 | end: | 323 | end: |
326 | if (!ret) | 324 | if (!ret) |
327 | acpi_bind_one(dev, handle); | 325 | acpi_bind_one(dev, handle); |