diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2009-06-17 00:34:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-17 04:48:00 +0200 |
commit | 491bcc9bf5d9a57f2d9cb3ce8ba0f6d48752c113 (patch) | |
tree | c0ef0205d06fd5c09dff1ee8dcec40e2ad28c9df /drivers/video/offb.c | |
parent | radeon: P2G2CLK_ALWAYS_ONb tested twice, should 2nd be P2G2CLK_DAC_ALWAYS_ONb? (diff) | |
download | linux-491bcc9bf5d9a57f2d9cb3ce8ba0f6d48752c113.tar.xz linux-491bcc9bf5d9a57f2d9cb3ce8ba0f6d48752c113.zip |
fbdev: use framebuffer_release() for freeing fb_info structures
Use the framebuffer_release() for freeing fb_info structures allocated
with framebuffer_alloc().
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/offb.c')
-rw-r--r-- | drivers/video/offb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/offb.c b/drivers/video/offb.c index bb915a43dd62..4d8c54c23dd7 100644 --- a/drivers/video/offb.c +++ b/drivers/video/offb.c @@ -493,7 +493,7 @@ static void __init offb_init_fb(const char *name, const char *full_name, iounmap(par->cmap_adr); par->cmap_adr = NULL; iounmap(info->screen_base); - kfree(info); + framebuffer_release(info); release_mem_region(res_start, res_size); return; } |