]> git.karo-electronics.de Git - mv-sheeva.git/commit
fbdev/amifb: Use framebuffer_alloc()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 21 Nov 2011 20:53:59 +0000 (21:53 +0100)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 3 Dec 2011 22:03:32 +0000 (22:03 +0000)
commit61640c295bbe8bb863c7c26b54ea365dd5be6991
treee82b556936801e161a0f7e7c8c8f2461ce8b3ae4
parentaf5761d609290375cb8bc4ee77293da2560c574a
fbdev/amifb: Use framebuffer_alloc()

Use framebuffer_alloc() instead of static fb_info and currentpar variables.
Also sanitize the error path and cleanup code (e.g. missing free_irq()).

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/amifb.c