diff options
Diffstat (limited to 'drivers/hid/hid-petalynx.c')
-rw-r--r-- | drivers/hid/hid-petalynx.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-petalynx.c b/drivers/hid/hid-petalynx.c index 4c521de4e7e6..736b2502df4f 100644 --- a/drivers/hid/hid-petalynx.c +++ b/drivers/hid/hid-petalynx.c | |||
@@ -103,17 +103,6 @@ static struct hid_driver pl_driver = { | |||
103 | .input_mapping = pl_input_mapping, | 103 | .input_mapping = pl_input_mapping, |
104 | .probe = pl_probe, | 104 | .probe = pl_probe, |
105 | }; | 105 | }; |
106 | module_hid_driver(pl_driver); | ||
106 | 107 | ||
107 | static int __init pl_init(void) | ||
108 | { | ||
109 | return hid_register_driver(&pl_driver); | ||
110 | } | ||
111 | |||
112 | static void __exit pl_exit(void) | ||
113 | { | ||
114 | hid_unregister_driver(&pl_driver); | ||
115 | } | ||
116 | |||
117 | module_init(pl_init); | ||
118 | module_exit(pl_exit); | ||
119 | MODULE_LICENSE("GPL"); | 108 | MODULE_LICENSE("GPL"); |