Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331732
b: refs/heads/master
c: e84a239
h: refs/heads/master
v: v3
  • Loading branch information
Mika Westerberg authored and Len Brown committed Sep 21, 2012
1 parent 737b80e commit e97f6f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 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: 8fe4bf6f9765e3b867f7c8f1bb7f104dc83a2022
refs/heads/master: e84a239e75493c683fed7b82d440f596527a08b7
18 changes: 1 addition & 17 deletions trunk/drivers/acpi/sbshc.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,23 +310,7 @@ static int acpi_smbus_hc_remove(struct acpi_device *device, int type)
return 0;
}

static int __init acpi_smb_hc_init(void)
{
int result;

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

static void __exit acpi_smb_hc_exit(void)
{
acpi_bus_unregister_driver(&acpi_smb_hc_driver);
}

module_init(acpi_smb_hc_init);
module_exit(acpi_smb_hc_exit);
module_acpi_driver(acpi_smb_hc_driver);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Alexey Starikovskiy");
Expand Down

0 comments on commit e97f6f5

Please sign in to comment.