Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331730
b: refs/heads/master
c: d8014c4
h: refs/heads/master
v: v3
  • Loading branch information
Mika Westerberg authored and Len Brown committed Sep 21, 2012
1 parent 32231e0 commit 4fe5047
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: 466e78f779b2b811f77dbd2ebf618ddd42e3ed50
refs/heads/master: d8014c4b28d725acdbdbe6969887bad03bf1084a
22 changes: 1 addition & 21 deletions trunk/drivers/acpi/fan.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,24 +212,4 @@ static int acpi_fan_resume(struct device *dev)
}
#endif

static int __init acpi_fan_init(void)
{
int result = 0;

result = acpi_bus_register_driver(&acpi_fan_driver);
if (result < 0)
return -ENODEV;

return 0;
}

static void __exit acpi_fan_exit(void)
{

acpi_bus_unregister_driver(&acpi_fan_driver);

return;
}

module_init(acpi_fan_init);
module_exit(acpi_fan_exit);
module_acpi_driver(acpi_fan_driver);

0 comments on commit 4fe5047

Please sign in to comment.