]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/input/touchscreen/usbtouchscreen.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[mirror_ubuntu-hirsute-kernel.git] / drivers / input / touchscreen / usbtouchscreen.c
index 9dbd8b4d9a6e77a8d8393044af2c15fd2a8f731a..06cef3ccc63a7d180864c7e99e4f5ad16a8b7cbc 100644 (file)
@@ -1616,18 +1616,7 @@ static struct usb_driver usbtouch_driver = {
        .supports_autosuspend = 1,
 };
 
-static int __init usbtouch_init(void)
-{
-       return usb_register(&usbtouch_driver);
-}
-
-static void __exit usbtouch_cleanup(void)
-{
-       usb_deregister(&usbtouch_driver);
-}
-
-module_init(usbtouch_init);
-module_exit(usbtouch_cleanup);
+module_usb_driver(usbtouch_driver);
 
 MODULE_AUTHOR(DRIVER_AUTHOR);
 MODULE_DESCRIPTION(DRIVER_DESC);