mirror of
https://github.com/gnif/vendor-reset
synced 2024-11-13 19:10:38 +00:00
Change exit order in attempt to prevent misc device kobj from sticking around
This commit is contained in:
parent
c21bcddd9e
commit
25827381f4
@ -165,10 +165,10 @@ static int __init vendor_reset_init(void)
|
||||
|
||||
static void __exit vendor_reset_exit(void)
|
||||
{
|
||||
misc_deregister(&vendor_reset_misc);
|
||||
|
||||
if (install_hook)
|
||||
fh_remove_hooks(fh_hooks);
|
||||
|
||||
misc_deregister(&vendor_reset_misc);
|
||||
}
|
||||
|
||||
module_init(vendor_reset_init);
|
||||
|
Loading…
Reference in New Issue
Block a user