diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c index 69b7f20c9d51..59d69b406a21 100644 --- a/drivers/staging/ced1401/usb1401.c +++ b/drivers/staging/ced1401/usb1401.c @@ -1653,19 +1653,5 @@ static struct usb_driver ced_driver = { .supports_autosuspend = 1, }; -static int __init usb_skel_init(void) -{ - /* register this driver with the USB subsystem */ - return usb_register(&ced_driver); -} - -static void __exit usb_skel_exit(void) -{ - /* deregister this driver with the USB subsystem */ - usb_deregister(&ced_driver); -} - -module_init(usb_skel_init); -module_exit(usb_skel_exit); - +module_usb_driver(ced_driver); MODULE_LICENSE("GPL");