fbdev: fbcon: Destroy mutex on freeing struct fb_info
authorShigeru Yoshida <syoshida@redhat.com>
Sun, 21 Aug 2022 11:17:31 +0000 (20:17 +0900)
committerHelge Deller <deller@gmx.de>
Wed, 24 Aug 2022 19:47:08 +0000 (21:47 +0200)
commit58559dfc1ebba2ae0c7627dc8f8991ae1984c6e3
tree6e317ee0df1c4809664587ae155dadbf6d366738
parent1cd3bf3348b4a686cc955c9cd11034d7652219cd
fbdev: fbcon: Destroy mutex on freeing struct fb_info

It's needed to destroy bl_curve_mutex on freeing struct fb_info since
the mutex is embedded in the structure and initialized when it's
allocated.

Signed-off-by: Shigeru Yoshida <syoshida@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/core/fbsysfs.c