X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fusb%2Fstorage%2Fonetouch.c;h=d75155c382000c52831d9dfb9553dbc49eccf4e0;hb=37cfc3f67db9f2d907f6bfcfae590cdbbef623e8;hp=d29be3e81134841f2a5cb06f5d30b9b27030f3f5;hpb=eea9fc7ddda80d3221fd79430b841a2cb315bb9f;p=~andy%2Flinux diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c index d29be3e8113..d75155c3820 100644 --- a/drivers/usb/storage/onetouch.c +++ b/drivers/usb/storage/onetouch.c @@ -314,15 +314,4 @@ static struct usb_driver onetouch_driver = { .soft_unbind = 1, }; -static int __init onetouch_init(void) -{ - return usb_register(&onetouch_driver); -} - -static void __exit onetouch_exit(void) -{ - usb_deregister(&onetouch_driver); -} - -module_init(onetouch_init); -module_exit(onetouch_exit); +module_usb_driver(onetouch_driver);