mirror of
https://github.com/gnif/vendor-reset.git
synced 2025-12-29 15:09:28 +01: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)
|
static void __exit vendor_reset_exit(void)
|
||||||
{
|
{
|
||||||
misc_deregister(&vendor_reset_misc);
|
|
||||||
|
|
||||||
if (install_hook)
|
if (install_hook)
|
||||||
fh_remove_hooks(fh_hooks);
|
fh_remove_hooks(fh_hooks);
|
||||||
|
|
||||||
|
misc_deregister(&vendor_reset_misc);
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(vendor_reset_init);
|
module_init(vendor_reset_init);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user