Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[~shefty/rdma-dev.git] / drivers / input / mouse / bcm5974.c
index 913e9fa4c810fd5b7dbf4bf9e0cd9ffeb6798357..927e479c26494506df371e9cc4757d7b032ea3f4 100644 (file)
@@ -943,16 +943,4 @@ static struct usb_driver bcm5974_driver = {
        .supports_autosuspend   = 1,
 };
 
-static int __init bcm5974_init(void)
-{
-       return usb_register(&bcm5974_driver);
-}
-
-static void __exit bcm5974_exit(void)
-{
-       usb_deregister(&bcm5974_driver);
-}
-
-module_init(bcm5974_init);
-module_exit(bcm5974_exit);
-
+module_usb_driver(bcm5974_driver);