aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-prodikeys.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-prodikeys.c')
-rw-r--r--drivers/hid/hid-prodikeys.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c
index ec8ca3336315..4e1c4bcbdc03 100644
--- a/drivers/hid/hid-prodikeys.c
+++ b/drivers/hid/hid-prodikeys.c
@@ -889,23 +889,6 @@ static struct hid_driver pk_driver = {
889 .probe = pk_probe, 889 .probe = pk_probe,
890 .remove = pk_remove, 890 .remove = pk_remove,
891}; 891};
892module_hid_driver(pk_driver);
892 893
893static int pk_init(void)
894{
895 int ret;
896
897 ret = hid_register_driver(&pk_driver);
898 if (ret)
899 pr_err("can't register prodikeys driver\n");
900
901 return ret;
902}
903
904static void pk_exit(void)
905{
906 hid_unregister_driver(&pk_driver);
907}
908
909module_init(pk_init);
910module_exit(pk_exit);
911MODULE_LICENSE("GPL"); 894MODULE_LICENSE("GPL");