1
0
Fork 0

[PATCH] fbmem: use unregister_chrdev() on unload

fbdev is missing unregister_chrdev() on unload.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hifive-unleashed-5.1
Jon Smirl 2005-07-27 11:46:04 -07:00 committed by Linus Torvalds
parent 0a793b77f7
commit 5a340cce09
1 changed files with 1 additions and 0 deletions

View File

@ -1164,6 +1164,7 @@ static void __exit
fbmem_exit(void)
{
class_destroy(fb_class);
unregister_chrdev(FB_MAJOR, "fb");
}
module_exit(fbmem_exit);