diff options
Diffstat (limited to 'drivers/uwb/i1480/dfu/usb.c')
-rw-r--r-- | drivers/uwb/i1480/dfu/usb.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/uwb/i1480/dfu/usb.c b/drivers/uwb/i1480/dfu/usb.c index ba8664328af..c8f684833d5 100644 --- a/drivers/uwb/i1480/dfu/usb.c +++ b/drivers/uwb/i1480/dfu/usb.c | |||
@@ -451,25 +451,7 @@ static struct usb_driver i1480_dfu_driver = { | |||
451 | .disconnect = NULL, | 451 | .disconnect = NULL, |
452 | }; | 452 | }; |
453 | 453 | ||
454 | 454 | module_usb_driver(i1480_dfu_driver); | |
455 | /* | ||
456 | * Initialize the i1480 DFU driver. | ||
457 | * | ||
458 | * We also need to register our function for guessing event sizes. | ||
459 | */ | ||
460 | static int __init i1480_dfu_driver_init(void) | ||
461 | { | ||
462 | return usb_register(&i1480_dfu_driver); | ||
463 | } | ||
464 | module_init(i1480_dfu_driver_init); | ||
465 | |||
466 | |||
467 | static void __exit i1480_dfu_driver_exit(void) | ||
468 | { | ||
469 | usb_deregister(&i1480_dfu_driver); | ||
470 | } | ||
471 | module_exit(i1480_dfu_driver_exit); | ||
472 | |||
473 | 455 | ||
474 | MODULE_AUTHOR("Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>"); | 456 | MODULE_AUTHOR("Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>"); |
475 | MODULE_DESCRIPTION("Intel Wireless UWB Link 1480 firmware uploader for USB"); | 457 | MODULE_DESCRIPTION("Intel Wireless UWB Link 1480 firmware uploader for USB"); |