diff options
Diffstat (limited to 'drivers/usb/misc/emi26.c')
-rw-r--r-- | drivers/usb/misc/emi26.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/usb/misc/emi26.c b/drivers/usb/misc/emi26.c index a6521c95f683..d9b6a0355443 100644 --- a/drivers/usb/misc/emi26.c +++ b/drivers/usb/misc/emi26.c | |||
@@ -276,18 +276,7 @@ static struct usb_driver emi26_driver = { | |||
276 | .id_table = id_table, | 276 | .id_table = id_table, |
277 | }; | 277 | }; |
278 | 278 | ||
279 | static int __init emi26_init (void) | 279 | module_usb_driver(emi26_driver); |
280 | { | ||
281 | return usb_register(&emi26_driver); | ||
282 | } | ||
283 | |||
284 | static void __exit emi26_exit (void) | ||
285 | { | ||
286 | usb_deregister (&emi26_driver); | ||
287 | } | ||
288 | |||
289 | module_init(emi26_init); | ||
290 | module_exit(emi26_exit); | ||
291 | 280 | ||
292 | MODULE_AUTHOR("Tapio Laxström"); | 281 | MODULE_AUTHOR("Tapio Laxström"); |
293 | MODULE_DESCRIPTION("Emagic EMI 2|6 firmware loader."); | 282 | MODULE_DESCRIPTION("Emagic EMI 2|6 firmware loader."); |