diff options
Diffstat (limited to 'drivers/net/usb/cdc_subset.c')
-rw-r--r-- | drivers/net/usb/cdc_subset.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/cdc_subset.c b/drivers/net/usb/cdc_subset.c index fc5f13d47ad..b403d934e4e 100644 --- a/drivers/net/usb/cdc_subset.c +++ b/drivers/net/usb/cdc_subset.c | |||
@@ -338,17 +338,7 @@ static struct usb_driver cdc_subset_driver = { | |||
338 | .id_table = products, | 338 | .id_table = products, |
339 | }; | 339 | }; |
340 | 340 | ||
341 | static int __init cdc_subset_init(void) | 341 | module_usb_driver(cdc_subset_driver); |
342 | { | ||
343 | return usb_register(&cdc_subset_driver); | ||
344 | } | ||
345 | module_init(cdc_subset_init); | ||
346 | |||
347 | static void __exit cdc_subset_exit(void) | ||
348 | { | ||
349 | usb_deregister(&cdc_subset_driver); | ||
350 | } | ||
351 | module_exit(cdc_subset_exit); | ||
352 | 342 | ||
353 | MODULE_AUTHOR("David Brownell"); | 343 | MODULE_AUTHOR("David Brownell"); |
354 | MODULE_DESCRIPTION("Simple 'CDC Subset' USB networking links"); | 344 | MODULE_DESCRIPTION("Simple 'CDC Subset' USB networking links"); |