diff options
Diffstat (limited to 'drivers/net/usb/plusb.c')
-rw-r--r-- | drivers/net/usb/plusb.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/plusb.c b/drivers/net/usb/plusb.c index 217aec8a768f..b2b035e29978 100644 --- a/drivers/net/usb/plusb.c +++ b/drivers/net/usb/plusb.c | |||
@@ -154,17 +154,7 @@ static struct usb_driver plusb_driver = { | |||
154 | .resume = usbnet_resume, | 154 | .resume = usbnet_resume, |
155 | }; | 155 | }; |
156 | 156 | ||
157 | static int __init plusb_init(void) | 157 | module_usb_driver(plusb_driver); |
158 | { | ||
159 | return usb_register(&plusb_driver); | ||
160 | } | ||
161 | module_init(plusb_init); | ||
162 | |||
163 | static void __exit plusb_exit(void) | ||
164 | { | ||
165 | usb_deregister(&plusb_driver); | ||
166 | } | ||
167 | module_exit(plusb_exit); | ||
168 | 158 | ||
169 | MODULE_AUTHOR("David Brownell"); | 159 | MODULE_AUTHOR("David Brownell"); |
170 | MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1 USB Host to Host Link Driver"); | 160 | MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1 USB Host to Host Link Driver"); |