diff options
Diffstat (limited to 'drivers/hid/hid-prodikeys.c')
-rw-r--r-- | drivers/hid/hid-prodikeys.c | 19 |
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 | }; |
892 | module_hid_driver(pk_driver); | ||
892 | 893 | ||
893 | static 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 | |||
904 | static void pk_exit(void) | ||
905 | { | ||
906 | hid_unregister_driver(&pk_driver); | ||
907 | } | ||
908 | |||
909 | module_init(pk_init); | ||
910 | module_exit(pk_exit); | ||
911 | MODULE_LICENSE("GPL"); | 894 | MODULE_LICENSE("GPL"); |