mirror of
https://github.com/gnif/vendor-reset.git
synced 2026-03-28 05:02:44 +01:00
Change exit order in attempt to prevent misc device kobj from sticking around
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user