aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/glue.c')
-rw-r--r--drivers/acpi/glue.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index 770cfc8b17e0..1943461489c2 100644
--- a/drivers/acpi/glue.c
+++ b/drivers/acpi/glue.c
@@ -29,7 +29,8 @@ 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 printk(KERN_INFO PREFIX "bus type %s registered\n", type->bus->name); 32 printk(KERN_INFO PREFIX "bus type %s registered\n",
33 type->bus->name);
33 return 0; 34 return 0;
34 } 35 }
35 return -ENODEV; 36 return -ENODEV;
@@ -45,7 +46,8 @@ int unregister_acpi_bus_type(struct acpi_bus_type *type)
45 down_write(&bus_type_sem); 46 down_write(&bus_type_sem);
46 list_del_init(&type->list); 47 list_del_init(&type->list);
47 up_write(&bus_type_sem); 48 up_write(&bus_type_sem);
48 printk(KERN_INFO PREFIX "ACPI bus type %s unregistered\n", type->bus->name); 49 printk(KERN_INFO PREFIX "ACPI bus type %s unregistered\n",
50 type->bus->name);
49 return 0; 51 return 0;
50 } 52 }
51 return -ENODEV; 53 return -ENODEV;