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

Commit 6c9571f4 authored by Axel Lin's avatar Axel Lin Committed by Paul Mundt
Browse files

video: nuc900fb: properly free resources in nuc900fb_remove



Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent d10df505
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -696,6 +696,8 @@ static int nuc900fb_remove(struct platform_device *pdev)
	nuc900fb_stop_lcd(fbinfo);
	msleep(1);

	unregister_framebuffer(fbinfo);
	nuc900fb_cpufreq_deregister(fbi);
	nuc900fb_unmap_video_memory(fbinfo);

	iounmap(fbi->io);