Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331737
b: refs/heads/master
c: 1516559
h: refs/heads/master
i:
  331735: d732ff0
v: v3
  • Loading branch information
Mika Westerberg authored and Len Brown committed Sep 21, 2012
1 parent 0ffe37a commit 2fc1419
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 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: 26953f78fbae7fef6f91c3351050b0334c06161c
refs/heads/master: 15165594da65f7b6c70fd47f27c2d3b0a23c9ca8
22 changes: 1 addition & 21 deletions trunk/drivers/platform/x86/topstar-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,27 +186,7 @@ static struct acpi_driver acpi_topstar_driver = {
.notify = acpi_topstar_notify,
},
};

static int __init topstar_laptop_init(void)
{
int ret;

ret = acpi_bus_register_driver(&acpi_topstar_driver);
if (ret < 0)
return ret;

pr_info("ACPI extras driver loaded\n");

return 0;
}

static void __exit topstar_laptop_exit(void)
{
acpi_bus_unregister_driver(&acpi_topstar_driver);
}

module_init(topstar_laptop_init);
module_exit(topstar_laptop_exit);
module_acpi_driver(acpi_topstar_driver);

MODULE_AUTHOR("Herton Ronaldo Krzesinski");
MODULE_DESCRIPTION("Topstar Laptop ACPI Extras driver");
Expand Down

0 comments on commit 2fc1419

Please sign in to comment.