Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331734
b: refs/heads/master
c: f06efcc
h: refs/heads/master
v: v3
  • Loading branch information
Mika Westerberg authored and Len Brown committed Sep 21, 2012
1 parent 242c146 commit 507988e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 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: 20420500cb553793f64c885a51024686e74b9819
refs/heads/master: f06efccf4d4162db957983bc8a66073ec4735a38
17 changes: 1 addition & 16 deletions trunk/drivers/input/misc/atlas_btns.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,22 +151,7 @@ static struct acpi_driver atlas_acpi_driver = {
.remove = atlas_acpi_button_remove,
},
};

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

return acpi_bus_register_driver(&atlas_acpi_driver);
}

static void __exit atlas_acpi_exit(void)
{
acpi_bus_unregister_driver(&atlas_acpi_driver);
}

module_init(atlas_acpi_init);
module_exit(atlas_acpi_exit);
module_acpi_driver(atlas_acpi_driver);

MODULE_AUTHOR("Jaya Kumar");
MODULE_LICENSE("GPL");
Expand Down

0 comments on commit 507988e

Please sign in to comment.