summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-belkin.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-belkin.c')
-rw-r--r--drivers/hid/hid-belkin.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-belkin.c b/drivers/hid/hid-belkin.c
index a1a5a12..cc4cf13 100644
--- a/drivers/hid/hid-belkin.c
+++ b/drivers/hid/hid-belkin.c
@@ -86,17 +86,6 @@ static struct hid_driver belkin_driver = {
.input_mapping = belkin_input_mapping,
.probe = belkin_probe,
};
+module_hid_driver(belkin_driver);
-static int __init belkin_init(void)
-{
- return hid_register_driver(&belkin_driver);
-}
-
-static void __exit belkin_exit(void)
-{
- hid_unregister_driver(&belkin_driver);
-}
-
-module_init(belkin_init);
-module_exit(belkin_exit);
MODULE_LICENSE("GPL");
OpenPOWER on IntegriCloud