Merge commit '070680218379e15c1901f4bf21b98e3cbf12b527' into stable/for-linus-fixes-3.3
[linux-2.6.git] / drivers / net / wireless / rt2x00 / rt2800usb.c
index 3778763..9ea4ecb 100644 (file)
@@ -1234,15 +1234,4 @@ static struct usb_driver rt2800usb_driver = {
        .resume         = rt2x00usb_resume,
 };
 
-static int __init rt2800usb_init(void)
-{
-       return usb_register(&rt2800usb_driver);
-}
-
-static void __exit rt2800usb_exit(void)
-{
-       usb_deregister(&rt2800usb_driver);
-}
-
-module_init(rt2800usb_init);
-module_exit(rt2800usb_exit);
+module_usb_driver(rt2800usb_driver);