aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-primax.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-primax.c')
-rw-r--r--drivers/hid/hid-primax.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-primax.c b/drivers/hid/hid-primax.c
index c15adb0c98a1..3a1c3c4c50dc 100644
--- a/drivers/hid/hid-primax.c
+++ b/drivers/hid/hid-primax.c
@@ -75,18 +75,7 @@ static struct hid_driver px_driver = {
75 .id_table = px_devices, 75 .id_table = px_devices,
76 .raw_event = px_raw_event, 76 .raw_event = px_raw_event,
77}; 77};
78module_hid_driver(px_driver);
78 79
79static int __init px_init(void)
80{
81 return hid_register_driver(&px_driver);
82}
83
84static void __exit px_exit(void)
85{
86 hid_unregister_driver(&px_driver);
87}
88
89module_init(px_init);
90module_exit(px_exit);
91MODULE_AUTHOR("Terry Lambert <tlambert@google.com>"); 80MODULE_AUTHOR("Terry Lambert <tlambert@google.com>");
92MODULE_LICENSE("GPL"); 81MODULE_LICENSE("GPL");