Merge commit '070680218379e15c1901f4bf21b98e3cbf12b527' into stable/for-linus-fixes-3.3
[linux-2.6.git] / drivers / bluetooth / btusb.c
index fe4ebc3..da83235 100644 (file)
@@ -1223,20 +1223,7 @@ static struct usb_driver btusb_driver = {
        .supports_autosuspend = 1,
 };
 
-static int __init btusb_init(void)
-{
-       BT_INFO("Generic Bluetooth USB driver ver %s", VERSION);
-
-       return usb_register(&btusb_driver);
-}
-
-static void __exit btusb_exit(void)
-{
-       usb_deregister(&btusb_driver);
-}
-
-module_init(btusb_init);
-module_exit(btusb_exit);
+module_usb_driver(btusb_driver);
 
 module_param(ignore_dga, bool, 0644);
 MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001");