HID: Use module_hid_driver macro
[deliverable/linux.git] / drivers / hid / hid-tmff.c
index 83a933b9c2e98163004c7c6dc999133196375840..e4fcf3f702a519b95fdc9ca8ea73d1d80a777c42 100644 (file)
@@ -261,17 +261,6 @@ static struct hid_driver tm_driver = {
        .id_table = tm_devices,
        .probe = tm_probe,
 };
+module_hid_driver(tm_driver);
 
-static int __init tm_init(void)
-{
-       return hid_register_driver(&tm_driver);
-}
-
-static void __exit tm_exit(void)
-{
-       hid_unregister_driver(&tm_driver);
-}
-
-module_init(tm_init);
-module_exit(tm_exit);
 MODULE_LICENSE("GPL");
This page took 0.04171 seconds and 5 git commands to generate.