diff options
Diffstat (limited to 'drivers/hid/hid-gaff.c')
-rw-r--r-- | drivers/hid/hid-gaff.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-gaff.c b/drivers/hid/hid-gaff.c index f1e1bcf67427..04d2e6aca778 100644 --- a/drivers/hid/hid-gaff.c +++ b/drivers/hid/hid-gaff.c | |||
@@ -176,17 +176,6 @@ static struct hid_driver ga_driver = { | |||
176 | .id_table = ga_devices, | 176 | .id_table = ga_devices, |
177 | .probe = ga_probe, | 177 | .probe = ga_probe, |
178 | }; | 178 | }; |
179 | module_hid_driver(ga_driver); | ||
179 | 180 | ||
180 | static int __init ga_init(void) | ||
181 | { | ||
182 | return hid_register_driver(&ga_driver); | ||
183 | } | ||
184 | |||
185 | static void __exit ga_exit(void) | ||
186 | { | ||
187 | hid_unregister_driver(&ga_driver); | ||
188 | } | ||
189 | |||
190 | module_init(ga_init); | ||
191 | module_exit(ga_exit); | ||
192 | MODULE_LICENSE("GPL"); | 181 | MODULE_LICENSE("GPL"); |