diff options
Diffstat (limited to 'drivers/usb/host/hwa-hc.c')
-rw-r--r-- | drivers/usb/host/hwa-hc.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/usb/host/hwa-hc.c b/drivers/usb/host/hwa-hc.c index 9bfac657572e..056fb2d37c88 100644 --- a/drivers/usb/host/hwa-hc.c +++ b/drivers/usb/host/hwa-hc.c | |||
@@ -837,18 +837,7 @@ static struct usb_driver hwahc_driver = { | |||
837 | .id_table = hwahc_id_table, | 837 | .id_table = hwahc_id_table, |
838 | }; | 838 | }; |
839 | 839 | ||
840 | static int __init hwahc_driver_init(void) | 840 | module_usb_driver(hwahc_driver); |
841 | { | ||
842 | return usb_register(&hwahc_driver); | ||
843 | } | ||
844 | module_init(hwahc_driver_init); | ||
845 | |||
846 | static void __exit hwahc_driver_exit(void) | ||
847 | { | ||
848 | usb_deregister(&hwahc_driver); | ||
849 | } | ||
850 | module_exit(hwahc_driver_exit); | ||
851 | |||
852 | 841 | ||
853 | MODULE_AUTHOR("Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>"); | 842 | MODULE_AUTHOR("Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>"); |
854 | MODULE_DESCRIPTION("Host Wired Adapter USB Host Control Driver"); | 843 | MODULE_DESCRIPTION("Host Wired Adapter USB Host Control Driver"); |