aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hid/hid-roccat-arvo.c2
-rw-r--r--drivers/hid/hid-roccat-kone.c2
-rw-r--r--drivers/hid/hid-roccat-koneplus.c2
-rw-r--r--drivers/hid/hid-roccat-kovaplus.c2
-rw-r--r--drivers/hid/hid-roccat-pyra.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/hid/hid-roccat-arvo.c b/drivers/hid/hid-roccat-arvo.c
index 7b9a992611bc..75f532f4d4cc 100644
--- a/drivers/hid/hid-roccat-arvo.c
+++ b/drivers/hid/hid-roccat-arvo.c
@@ -438,8 +438,8 @@ static int __init arvo_init(void)
438 438
439static void __exit arvo_exit(void) 439static void __exit arvo_exit(void)
440{ 440{
441 class_destroy(arvo_class);
442 hid_unregister_driver(&arvo_driver); 441 hid_unregister_driver(&arvo_driver);
442 class_destroy(arvo_class);
443} 443}
444 444
445module_init(arvo_init); 445module_init(arvo_init);
diff --git a/drivers/hid/hid-roccat-kone.c b/drivers/hid/hid-roccat-kone.c
index 5cdb282dad11..d7497964a5b3 100644
--- a/drivers/hid/hid-roccat-kone.c
+++ b/drivers/hid/hid-roccat-kone.c
@@ -844,8 +844,8 @@ static int __init kone_init(void)
844 844
845static void __exit kone_exit(void) 845static void __exit kone_exit(void)
846{ 846{
847 class_destroy(kone_class);
848 hid_unregister_driver(&kone_driver); 847 hid_unregister_driver(&kone_driver);
848 class_destroy(kone_class);
849} 849}
850 850
851module_init(kone_init); 851module_init(kone_init);
diff --git a/drivers/hid/hid-roccat-koneplus.c b/drivers/hid/hid-roccat-koneplus.c
index 7367e4edfa6c..ac2010732495 100644
--- a/drivers/hid/hid-roccat-koneplus.c
+++ b/drivers/hid/hid-roccat-koneplus.c
@@ -774,8 +774,8 @@ static int __init koneplus_init(void)
774 774
775static void __exit koneplus_exit(void) 775static void __exit koneplus_exit(void)
776{ 776{
777 class_destroy(koneplus_class);
778 hid_unregister_driver(&koneplus_driver); 777 hid_unregister_driver(&koneplus_driver);
778 class_destroy(koneplus_class);
779} 779}
780 780
781module_init(koneplus_init); 781module_init(koneplus_init);
diff --git a/drivers/hid/hid-roccat-kovaplus.c b/drivers/hid/hid-roccat-kovaplus.c
index 7664e2ce2886..4eeb62fb4e75 100644
--- a/drivers/hid/hid-roccat-kovaplus.c
+++ b/drivers/hid/hid-roccat-kovaplus.c
@@ -703,8 +703,8 @@ static int __init kovaplus_init(void)
703 703
704static void __exit kovaplus_exit(void) 704static void __exit kovaplus_exit(void)
705{ 705{
706 class_destroy(kovaplus_class);
707 hid_unregister_driver(&kovaplus_driver); 706 hid_unregister_driver(&kovaplus_driver);
707 class_destroy(kovaplus_class);
708} 708}
709 709
710module_init(kovaplus_init); 710module_init(kovaplus_init);
diff --git a/drivers/hid/hid-roccat-pyra.c b/drivers/hid/hid-roccat-pyra.c
index be4daa96f7c2..02a72433a712 100644
--- a/drivers/hid/hid-roccat-pyra.c
+++ b/drivers/hid/hid-roccat-pyra.c
@@ -685,8 +685,8 @@ static int __init pyra_init(void)
685 685
686static void __exit pyra_exit(void) 686static void __exit pyra_exit(void)
687{ 687{
688 class_destroy(pyra_class);
689 hid_unregister_driver(&pyra_driver); 688 hid_unregister_driver(&pyra_driver);
689 class_destroy(pyra_class);
690} 690}
691 691
692module_init(pyra_init); 692module_init(pyra_init);