aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-petalynx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-petalynx.c')
-rw-r--r--drivers/hid/hid-petalynx.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-petalynx.c b/drivers/hid/hid-petalynx.c
index 4c521de4e7e6..736b2502df4f 100644
--- a/drivers/hid/hid-petalynx.c
+++ b/drivers/hid/hid-petalynx.c
@@ -103,17 +103,6 @@ static struct hid_driver pl_driver = {
103 .input_mapping = pl_input_mapping, 103 .input_mapping = pl_input_mapping,
104 .probe = pl_probe, 104 .probe = pl_probe,
105}; 105};
106module_hid_driver(pl_driver);
106 107
107static int __init pl_init(void)
108{
109 return hid_register_driver(&pl_driver);
110}
111
112static void __exit pl_exit(void)
113{
114 hid_unregister_driver(&pl_driver);
115}
116
117module_init(pl_init);
118module_exit(pl_exit);
119MODULE_LICENSE("GPL"); 108MODULE_LICENSE("GPL");