commit | 6c9571f4b759717e1c938cbc6b53ec8ce5813245 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon Jan 17 16:25:57 2011 +0800 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Jan 18 13:38:06 2011 +0900 |
tree | 8484d1951bf1844fc2a7d114e772530c6b3b12f3 | |
parent | d10df505f81064cf983fb3c5111b004d181a10f5 [diff] |
video: nuc900fb: properly free resources in nuc900fb_remove Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/drivers/video/nuc900fb.c b/drivers/video/nuc900fb.c index 29ef92f..f838d9e 100644 --- a/drivers/video/nuc900fb.c +++ b/drivers/video/nuc900fb.c
@@ -696,6 +696,8 @@ nuc900fb_stop_lcd(fbinfo); msleep(1); + unregister_framebuffer(fbinfo); + nuc900fb_cpufreq_deregister(fbi); nuc900fb_unmap_video_memory(fbinfo); iounmap(fbi->io);