diff options
Diffstat (limited to 'drivers/uwb/hwa-rc.c')
-rw-r--r-- | drivers/uwb/hwa-rc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/uwb/hwa-rc.c b/drivers/uwb/hwa-rc.c index 2babcd4fbfc1..66797e9c5010 100644 --- a/drivers/uwb/hwa-rc.c +++ b/drivers/uwb/hwa-rc.c | |||
@@ -914,17 +914,7 @@ static struct usb_driver hwarc_driver = { | |||
914 | .post_reset = hwarc_post_reset, | 914 | .post_reset = hwarc_post_reset, |
915 | }; | 915 | }; |
916 | 916 | ||
917 | static int __init hwarc_driver_init(void) | 917 | module_usb_driver(hwarc_driver); |
918 | { | ||
919 | return usb_register(&hwarc_driver); | ||
920 | } | ||
921 | module_init(hwarc_driver_init); | ||
922 | |||
923 | static void __exit hwarc_driver_exit(void) | ||
924 | { | ||
925 | usb_deregister(&hwarc_driver); | ||
926 | } | ||
927 | module_exit(hwarc_driver_exit); | ||
928 | 918 | ||
929 | MODULE_AUTHOR("Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>"); | 919 | MODULE_AUTHOR("Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>"); |
930 | MODULE_DESCRIPTION("Host Wireless Adapter Radio Control Driver"); | 920 | MODULE_DESCRIPTION("Host Wireless Adapter Radio Control Driver"); |