diff options
Diffstat (limited to 'drivers/hid/hid-axff.c')
-rw-r--r-- | drivers/hid/hid-axff.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/hid/hid-axff.c b/drivers/hid/hid-axff.c index 5be858dd9a15..62f0cee032ba 100644 --- a/drivers/hid/hid-axff.c +++ b/drivers/hid/hid-axff.c | |||
@@ -192,19 +192,7 @@ static struct hid_driver ax_driver = { | |||
192 | .probe = ax_probe, | 192 | .probe = ax_probe, |
193 | .remove = ax_remove, | 193 | .remove = ax_remove, |
194 | }; | 194 | }; |
195 | 195 | module_hid_driver(ax_driver); | |
196 | static int __init ax_init(void) | ||
197 | { | ||
198 | return hid_register_driver(&ax_driver); | ||
199 | } | ||
200 | |||
201 | static void __exit ax_exit(void) | ||
202 | { | ||
203 | hid_unregister_driver(&ax_driver); | ||
204 | } | ||
205 | |||
206 | module_init(ax_init); | ||
207 | module_exit(ax_exit); | ||
208 | 196 | ||
209 | MODULE_AUTHOR("Sergei Kolzun"); | 197 | MODULE_AUTHOR("Sergei Kolzun"); |
210 | MODULE_DESCRIPTION("Force feedback support for ACRUX game controllers"); | 198 | MODULE_DESCRIPTION("Force feedback support for ACRUX game controllers"); |