Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331731
b: refs/heads/master
c: 8fe4bf6
h: refs/heads/master
i:
  331729: 32231e0
  331727: dc277e4
v: v3
  • Loading branch information
Mika Westerberg authored and Len Brown committed Sep 21, 2012
1 parent 4fe5047 commit 737b80e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 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: d8014c4b28d725acdbdbe6969887bad03bf1084a
refs/heads/master: 8fe4bf6f9765e3b867f7c8f1bb7f104dc83a2022
20 changes: 1 addition & 19 deletions trunk/drivers/acpi/hed.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,25 +86,7 @@ static struct acpi_driver acpi_hed_driver = {
.notify = acpi_hed_notify,
},
};

static int __init acpi_hed_init(void)
{
if (acpi_disabled)
return -ENODEV;

if (acpi_bus_register_driver(&acpi_hed_driver) < 0)
return -ENODEV;

return 0;
}

static void __exit acpi_hed_exit(void)
{
acpi_bus_unregister_driver(&acpi_hed_driver);
}

module_init(acpi_hed_init);
module_exit(acpi_hed_exit);
module_acpi_driver(acpi_hed_driver);

ACPI_MODULE_NAME("hed");
MODULE_AUTHOR("Huang Ying");
Expand Down

0 comments on commit 737b80e

Please sign in to comment.