Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a340cce authored by Jon Smirl's avatar Jon Smirl Committed by Linus Torvalds
Browse files

[PATCH] fbmem: use unregister_chrdev() on unload



fbdev is missing unregister_chrdev() on unload.

Signed-off-by: default avatarJon Smirl <jonsmirl@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0a793b77
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1164,6 +1164,7 @@ static void __exit
fbmem_exit(void)
fbmem_exit(void)
{
{
	class_destroy(fb_class);
	class_destroy(fb_class);
	unregister_chrdev(FB_MAJOR, "fb");
}
}


module_exit(fbmem_exit);
module_exit(fbmem_exit);