diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-19 20:02:01 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-19 20:02:01 -0400 |
commit | 10ce3cc919f50c2043b41ca968b43c26a3672600 (patch) | |
tree | ea409366a5208aced495bc0516a08b81fd43222e /drivers/input/misc/yealink.c | |
parent | 24e3e5ae1e4c2a3a32f5b1f96b4e3fd721806acd (diff) | |
parent | 5c6a7a62c130afef3d61c1dee153012231ff5cd9 (diff) |
Merge branch 'next' into for-linus
Diffstat (limited to 'drivers/input/misc/yealink.c')
-rw-r--r-- | drivers/input/misc/yealink.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/input/misc/yealink.c b/drivers/input/misc/yealink.c index 41201c6b5e68..f4776e7f8c15 100644 --- a/drivers/input/misc/yealink.c +++ b/drivers/input/misc/yealink.c | |||
@@ -988,22 +988,7 @@ static struct usb_driver yealink_driver = { | |||
988 | .id_table = usb_table, | 988 | .id_table = usb_table, |
989 | }; | 989 | }; |
990 | 990 | ||
991 | static int __init yealink_dev_init(void) | 991 | module_usb_driver(yealink_driver); |
992 | { | ||
993 | int ret = usb_register(&yealink_driver); | ||
994 | if (ret == 0) | ||
995 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
996 | DRIVER_DESC "\n"); | ||
997 | return ret; | ||
998 | } | ||
999 | |||
1000 | static void __exit yealink_dev_exit(void) | ||
1001 | { | ||
1002 | usb_deregister(&yealink_driver); | ||
1003 | } | ||
1004 | |||
1005 | module_init(yealink_dev_init); | ||
1006 | module_exit(yealink_dev_exit); | ||
1007 | 992 | ||
1008 | MODULE_DEVICE_TABLE (usb, usb_table); | 993 | MODULE_DEVICE_TABLE (usb, usb_table); |
1009 | 994 | ||