Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331735
b: refs/heads/master
c: 46f6471
h: refs/heads/master
i:
  331733: 242c146
  331731: 737b80e
  331727: dc277e4
v: v3
  • Loading branch information
Mika Westerberg authored and Len Brown committed Sep 21, 2012
1 parent 507988e commit d732ff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 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: f06efccf4d4162db957983bc8a66073ec4735a38
refs/heads/master: 46f6471c2c5ed68694df8f453794d5de664e70af
25 changes: 1 addition & 24 deletions trunk/drivers/platform/x86/hp_accel.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,31 +382,8 @@ static struct acpi_driver lis3lv02d_driver = {
},
.drv.pm = HP_ACCEL_PM,
};

static int __init lis3lv02d_init_module(void)
{
int ret;

if (acpi_disabled)
return -ENODEV;

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

pr_info("driver loaded\n");

return 0;
}

static void __exit lis3lv02d_exit_module(void)
{
acpi_bus_unregister_driver(&lis3lv02d_driver);
}
module_acpi_driver(lis3lv02d_driver);

MODULE_DESCRIPTION("Glue between LIS3LV02Dx and HP ACPI BIOS and support for disk protection LED.");
MODULE_AUTHOR("Yan Burman, Eric Piel, Pavel Machek");
MODULE_LICENSE("GPL");

module_init(lis3lv02d_init_module);
module_exit(lis3lv02d_exit_module);

0 comments on commit d732ff0

Please sign in to comment.