diff options
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/usbtouchscreen.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/touchscreen/usbtouchscreen.c b/drivers/input/touchscreen/usbtouchscreen.c index 73fd6642b681..e539d92cc626 100644 --- a/drivers/input/touchscreen/usbtouchscreen.c +++ b/drivers/input/touchscreen/usbtouchscreen.c | |||
@@ -1580,18 +1580,7 @@ static struct usb_driver usbtouch_driver = { | |||
1580 | .supports_autosuspend = 1, | 1580 | .supports_autosuspend = 1, |
1581 | }; | 1581 | }; |
1582 | 1582 | ||
1583 | static int __init usbtouch_init(void) | 1583 | module_usb_driver(usbtouch_driver); |
1584 | { | ||
1585 | return usb_register(&usbtouch_driver); | ||
1586 | } | ||
1587 | |||
1588 | static void __exit usbtouch_cleanup(void) | ||
1589 | { | ||
1590 | usb_deregister(&usbtouch_driver); | ||
1591 | } | ||
1592 | |||
1593 | module_init(usbtouch_init); | ||
1594 | module_exit(usbtouch_cleanup); | ||
1595 | 1584 | ||
1596 | MODULE_AUTHOR(DRIVER_AUTHOR); | 1585 | MODULE_AUTHOR(DRIVER_AUTHOR); |
1597 | MODULE_DESCRIPTION(DRIVER_DESC); | 1586 | MODULE_DESCRIPTION(DRIVER_DESC); |