diff options
Diffstat (limited to 'drivers/hid/hid-elecom.c')
-rw-r--r-- | drivers/hid/hid-elecom.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-elecom.c b/drivers/hid/hid-elecom.c index 79d0c61e7214..d0bd13b62dc2 100644 --- a/drivers/hid/hid-elecom.c +++ b/drivers/hid/hid-elecom.c | |||
@@ -41,17 +41,6 @@ static struct hid_driver elecom_driver = { | |||
41 | .id_table = elecom_devices, | 41 | .id_table = elecom_devices, |
42 | .report_fixup = elecom_report_fixup | 42 | .report_fixup = elecom_report_fixup |
43 | }; | 43 | }; |
44 | module_hid_driver(elecom_driver); | ||
44 | 45 | ||
45 | static int __init elecom_init(void) | ||
46 | { | ||
47 | return hid_register_driver(&elecom_driver); | ||
48 | } | ||
49 | |||
50 | static void __exit elecom_exit(void) | ||
51 | { | ||
52 | hid_unregister_driver(&elecom_driver); | ||
53 | } | ||
54 | |||
55 | module_init(elecom_init); | ||
56 | module_exit(elecom_exit); | ||
57 | MODULE_LICENSE("GPL"); | 46 | MODULE_LICENSE("GPL"); |