diff options
-rw-r--r-- | drivers/hid/hid-sony.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 31e9d2561106..38d8af558d72 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c | |||
@@ -2147,8 +2147,8 @@ static void __exit sony_exit(void) | |||
2147 | { | 2147 | { |
2148 | dbg_hid("Sony:%s\n", __func__); | 2148 | dbg_hid("Sony:%s\n", __func__); |
2149 | 2149 | ||
2150 | ida_destroy(&sony_device_id_allocator); | ||
2151 | hid_unregister_driver(&sony_driver); | 2150 | hid_unregister_driver(&sony_driver); |
2151 | ida_destroy(&sony_device_id_allocator); | ||
2152 | } | 2152 | } |
2153 | module_init(sony_init); | 2153 | module_init(sony_init); |
2154 | module_exit(sony_exit); | 2154 | module_exit(sony_exit); |