diff options
| -rw-r--r-- | drivers/hid/hid-holtek-mouse.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-holtek-mouse.c b/drivers/hid/hid-holtek-mouse.c index 6a23ee678138..7e6db3cf46f9 100644 --- a/drivers/hid/hid-holtek-mouse.c +++ b/drivers/hid/hid-holtek-mouse.c | |||
| @@ -73,16 +73,5 @@ static struct hid_driver holtek_mouse_driver = { | |||
| 73 | .report_fixup = holtek_mouse_report_fixup, | 73 | .report_fixup = holtek_mouse_report_fixup, |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | static int __init holtek_mouse_init(void) | 76 | module_hid_driver(holtek_mouse_driver); |
| 77 | { | ||
| 78 | return hid_register_driver(&holtek_mouse_driver); | ||
| 79 | } | ||
| 80 | |||
| 81 | static void __exit holtek_mouse_exit(void) | ||
| 82 | { | ||
| 83 | hid_unregister_driver(&holtek_mouse_driver); | ||
| 84 | } | ||
| 85 | |||
| 86 | module_exit(holtek_mouse_exit); | ||
| 87 | module_init(holtek_mouse_init); | ||
| 88 | MODULE_LICENSE("GPL"); | 77 | MODULE_LICENSE("GPL"); |
