diff options
Diffstat (limited to 'drivers/hid/hid-ezkey.c')
-rw-r--r-- | drivers/hid/hid-ezkey.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-ezkey.c b/drivers/hid/hid-ezkey.c index 6540af2871a7..212ac6be2451 100644 --- a/drivers/hid/hid-ezkey.c +++ b/drivers/hid/hid-ezkey.c | |||
@@ -76,17 +76,6 @@ static struct hid_driver ez_driver = { | |||
76 | .input_mapping = ez_input_mapping, | 76 | .input_mapping = ez_input_mapping, |
77 | .event = ez_event, | 77 | .event = ez_event, |
78 | }; | 78 | }; |
79 | module_hid_driver(ez_driver); | ||
79 | 80 | ||
80 | static int __init ez_init(void) | ||
81 | { | ||
82 | return hid_register_driver(&ez_driver); | ||
83 | } | ||
84 | |||
85 | static void __exit ez_exit(void) | ||
86 | { | ||
87 | hid_unregister_driver(&ez_driver); | ||
88 | } | ||
89 | |||
90 | module_init(ez_init); | ||
91 | module_exit(ez_exit); | ||
92 | MODULE_LICENSE("GPL"); | 81 | MODULE_LICENSE("GPL"); |