]> err.no Git - linux-2.6/commit
[PATCH] fbdev: imsttfb: Driver cleanups
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 10 Jan 2006 04:53:07 +0000 (20:53 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:45 +0000 (08:01 -0800)
commit94f9e09ce531d48b2e46208f9b1c8733a74c22de
tree5abef48d934736ce028e84c98b4e8d2bba68dd77
parent1d204ef3e4ea61058e49453af393ca754b529b85
[PATCH] fbdev: imsttfb: Driver cleanups

- remove unneeded casts

- the pseudo_palette, if using the generic drawing functions, must always be
  u32 regardless of the bpp

- use framebuffer_alloc/framebuffer_release to allocate memory

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/imsttfb.c