Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4737
b: refs/heads/master
c: ef7b06c
h: refs/heads/master
i:
  4735: 0dab57f
v: v3
  • Loading branch information
David Shaohua Li authored and Len Brown committed Jul 12, 2005
1 parent d7c2342 commit 846b9f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44f6c01242da4e162f28d8e1216a8c7a91174605
refs/heads/master: ef7b06cd905424aea7c31f27fef622e84e75e650
10 changes: 4 additions & 6 deletions trunk/drivers/acpi/glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 846b9f2

Please sign in to comment.