diff options
Diffstat (limited to 'drivers/input/joystick')
-rw-r--r-- | drivers/input/joystick/magellan.c | 17 | ||||
-rw-r--r-- | drivers/input/joystick/spaceball.c | 17 | ||||
-rw-r--r-- | drivers/input/joystick/spaceorb.c | 17 | ||||
-rw-r--r-- | drivers/input/joystick/stinger.c | 17 | ||||
-rw-r--r-- | drivers/input/joystick/twidjoy.c | 17 | ||||
-rw-r--r-- | drivers/input/joystick/warrior.c | 17 | ||||
-rw-r--r-- | drivers/input/joystick/zhenhua.c | 17 |
7 files changed, 7 insertions, 112 deletions
diff --git a/drivers/input/joystick/magellan.c b/drivers/input/joystick/magellan.c index 40e40780747d..9fb153eef2fc 100644 --- a/drivers/input/joystick/magellan.c +++ b/drivers/input/joystick/magellan.c | |||
@@ -222,19 +222,4 @@ static struct serio_driver magellan_drv = { | |||
222 | .disconnect = magellan_disconnect, | 222 | .disconnect = magellan_disconnect, |
223 | }; | 223 | }; |
224 | 224 | ||
225 | /* | 225 | module_serio_driver(magellan_drv); |
226 | * The functions for inserting/removing us as a module. | ||
227 | */ | ||
228 | |||
229 | static int __init magellan_init(void) | ||
230 | { | ||
231 | return serio_register_driver(&magellan_drv); | ||
232 | } | ||
233 | |||
234 | static void __exit magellan_exit(void) | ||
235 | { | ||
236 | serio_unregister_driver(&magellan_drv); | ||
237 | } | ||
238 | |||
239 | module_init(magellan_init); | ||
240 | module_exit(magellan_exit); | ||
diff --git a/drivers/input/joystick/spaceball.c b/drivers/input/joystick/spaceball.c index 0cd9b29356a8..80a7b27a457a 100644 --- a/drivers/input/joystick/spaceball.c +++ b/drivers/input/joystick/spaceball.c | |||
@@ -296,19 +296,4 @@ static struct serio_driver spaceball_drv = { | |||
296 | .disconnect = spaceball_disconnect, | 296 | .disconnect = spaceball_disconnect, |
297 | }; | 297 | }; |
298 | 298 | ||
299 | /* | 299 | module_serio_driver(spaceball_drv); |
300 | * The functions for inserting/removing us as a module. | ||
301 | */ | ||
302 | |||
303 | static int __init spaceball_init(void) | ||
304 | { | ||
305 | return serio_register_driver(&spaceball_drv); | ||
306 | } | ||
307 | |||
308 | static void __exit spaceball_exit(void) | ||
309 | { | ||
310 | serio_unregister_driver(&spaceball_drv); | ||
311 | } | ||
312 | |||
313 | module_init(spaceball_init); | ||
314 | module_exit(spaceball_exit); | ||
diff --git a/drivers/input/joystick/spaceorb.c b/drivers/input/joystick/spaceorb.c index a694bf8e557b..a41f291652e6 100644 --- a/drivers/input/joystick/spaceorb.c +++ b/drivers/input/joystick/spaceorb.c | |||
@@ -237,19 +237,4 @@ static struct serio_driver spaceorb_drv = { | |||
237 | .disconnect = spaceorb_disconnect, | 237 | .disconnect = spaceorb_disconnect, |
238 | }; | 238 | }; |
239 | 239 | ||
240 | /* | 240 | module_serio_driver(spaceorb_drv); |
241 | * The functions for inserting/removing us as a module. | ||
242 | */ | ||
243 | |||
244 | static int __init spaceorb_init(void) | ||
245 | { | ||
246 | return serio_register_driver(&spaceorb_drv); | ||
247 | } | ||
248 | |||
249 | static void __exit spaceorb_exit(void) | ||
250 | { | ||
251 | serio_unregister_driver(&spaceorb_drv); | ||
252 | } | ||
253 | |||
254 | module_init(spaceorb_init); | ||
255 | module_exit(spaceorb_exit); | ||
diff --git a/drivers/input/joystick/stinger.c b/drivers/input/joystick/stinger.c index e0db9f5e4b41..0f51a60e14a7 100644 --- a/drivers/input/joystick/stinger.c +++ b/drivers/input/joystick/stinger.c | |||
@@ -208,19 +208,4 @@ static struct serio_driver stinger_drv = { | |||
208 | .disconnect = stinger_disconnect, | 208 | .disconnect = stinger_disconnect, |
209 | }; | 209 | }; |
210 | 210 | ||
211 | /* | 211 | module_serio_driver(stinger_drv); |
212 | * The functions for inserting/removing us as a module. | ||
213 | */ | ||
214 | |||
215 | static int __init stinger_init(void) | ||
216 | { | ||
217 | return serio_register_driver(&stinger_drv); | ||
218 | } | ||
219 | |||
220 | static void __exit stinger_exit(void) | ||
221 | { | ||
222 | serio_unregister_driver(&stinger_drv); | ||
223 | } | ||
224 | |||
225 | module_init(stinger_init); | ||
226 | module_exit(stinger_exit); | ||
diff --git a/drivers/input/joystick/twidjoy.c b/drivers/input/joystick/twidjoy.c index 3f4ec73c9553..2556a8193579 100644 --- a/drivers/input/joystick/twidjoy.c +++ b/drivers/input/joystick/twidjoy.c | |||
@@ -257,19 +257,4 @@ static struct serio_driver twidjoy_drv = { | |||
257 | .disconnect = twidjoy_disconnect, | 257 | .disconnect = twidjoy_disconnect, |
258 | }; | 258 | }; |
259 | 259 | ||
260 | /* | 260 | module_serio_driver(twidjoy_drv); |
261 | * The functions for inserting/removing us as a module. | ||
262 | */ | ||
263 | |||
264 | static int __init twidjoy_init(void) | ||
265 | { | ||
266 | return serio_register_driver(&twidjoy_drv); | ||
267 | } | ||
268 | |||
269 | static void __exit twidjoy_exit(void) | ||
270 | { | ||
271 | serio_unregister_driver(&twidjoy_drv); | ||
272 | } | ||
273 | |||
274 | module_init(twidjoy_init); | ||
275 | module_exit(twidjoy_exit); | ||
diff --git a/drivers/input/joystick/warrior.c b/drivers/input/joystick/warrior.c index f72c83e15e60..23b3071abb6e 100644 --- a/drivers/input/joystick/warrior.c +++ b/drivers/input/joystick/warrior.c | |||
@@ -217,19 +217,4 @@ static struct serio_driver warrior_drv = { | |||
217 | .disconnect = warrior_disconnect, | 217 | .disconnect = warrior_disconnect, |
218 | }; | 218 | }; |
219 | 219 | ||
220 | /* | 220 | module_serio_driver(warrior_drv); |
221 | * The functions for inserting/removing us as a module. | ||
222 | */ | ||
223 | |||
224 | static int __init warrior_init(void) | ||
225 | { | ||
226 | return serio_register_driver(&warrior_drv); | ||
227 | } | ||
228 | |||
229 | static void __exit warrior_exit(void) | ||
230 | { | ||
231 | serio_unregister_driver(&warrior_drv); | ||
232 | } | ||
233 | |||
234 | module_init(warrior_init); | ||
235 | module_exit(warrior_exit); | ||
diff --git a/drivers/input/joystick/zhenhua.c b/drivers/input/joystick/zhenhua.c index b5853125c898..c4de4388fd7f 100644 --- a/drivers/input/joystick/zhenhua.c +++ b/drivers/input/joystick/zhenhua.c | |||
@@ -225,19 +225,4 @@ static struct serio_driver zhenhua_drv = { | |||
225 | .disconnect = zhenhua_disconnect, | 225 | .disconnect = zhenhua_disconnect, |
226 | }; | 226 | }; |
227 | 227 | ||
228 | /* | 228 | module_serio_driver(zhenhua_drv); |
229 | * The functions for inserting/removing us as a module. | ||
230 | */ | ||
231 | |||
232 | static int __init zhenhua_init(void) | ||
233 | { | ||
234 | return serio_register_driver(&zhenhua_drv); | ||
235 | } | ||
236 | |||
237 | static void __exit zhenhua_exit(void) | ||
238 | { | ||
239 | serio_unregister_driver(&zhenhua_drv); | ||
240 | } | ||
241 | |||
242 | module_init(zhenhua_init); | ||
243 | module_exit(zhenhua_exit); | ||