diff options
Diffstat (limited to 'drivers/usb/gadget/atmel_usba_udc.c')
-rw-r--r-- | drivers/usb/gadget/atmel_usba_udc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index a7aed84d98c9..bc19496bcec0 100644 --- a/drivers/usb/gadget/atmel_usba_udc.c +++ b/drivers/usb/gadget/atmel_usba_udc.c | |||
@@ -2066,17 +2066,7 @@ static struct platform_driver udc_driver = { | |||
2066 | }, | 2066 | }, |
2067 | }; | 2067 | }; |
2068 | 2068 | ||
2069 | static int __init udc_init(void) | 2069 | module_platform_driver_probe(udc_driver, usba_udc_probe); |
2070 | { | ||
2071 | return platform_driver_probe(&udc_driver, usba_udc_probe); | ||
2072 | } | ||
2073 | module_init(udc_init); | ||
2074 | |||
2075 | static void __exit udc_exit(void) | ||
2076 | { | ||
2077 | platform_driver_unregister(&udc_driver); | ||
2078 | } | ||
2079 | module_exit(udc_exit); | ||
2080 | 2070 | ||
2081 | MODULE_DESCRIPTION("Atmel USBA UDC driver"); | 2071 | MODULE_DESCRIPTION("Atmel USBA UDC driver"); |
2082 | MODULE_AUTHOR("Haavard Skinnemoen (Atmel)"); | 2072 | MODULE_AUTHOR("Haavard Skinnemoen (Atmel)"); |