aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-ezkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-ezkey.c')
-rw-r--r--drivers/hid/hid-ezkey.c13
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};
79module_hid_driver(ez_driver);
79 80
80static int __init ez_init(void)
81{
82 return hid_register_driver(&ez_driver);
83}
84
85static void __exit ez_exit(void)
86{
87 hid_unregister_driver(&ez_driver);
88}
89
90module_init(ez_init);
91module_exit(ez_exit);
92MODULE_LICENSE("GPL"); 81MODULE_LICENSE("GPL");