projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10df50
)
video: nuc900fb: properly free resources in nuc900fb_remove
author
Axel Lin
<axel.lin@gmail.com>
Mon, 17 Jan 2011 08:25:57 +0000
(16:25 +0800)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 18 Jan 2011 04:38:06 +0000
(13:38 +0900)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/nuc900fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/nuc900fb.c
b/drivers/video/nuc900fb.c
index 29ef92f97f0cb1bd1f7f312eef86318a187b87cb..f838d9e277f05e4fb5c9ee724d1f028a560e07a2 100644
(file)
--- a/
drivers/video/nuc900fb.c
+++ b/
drivers/video/nuc900fb.c
@@
-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);