fbdev: fix color component field length documentation
authorMichal Januszewski <spock@gentoo.org>
Mon, 13 Apr 2009 21:39:41 +0000 (14:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Apr 2009 22:04:29 +0000 (15:04 -0700)
commitebde441177da3bad156701d351509f34295282ab
tree816eca54fcde1e42d4ba81ab80533188724a64ee
parent513adb58685615b0b1d47a3f0d40f5352beff189
fbdev: fix color component field length documentation

The documentation about the meaning of the color component bitfield
lengths in pseudocolor modes is inconsistent.  Fix it, so that it
indicates the correct interpretation everywhere, i.e.  that 1 << length is
the number of palette entries.

Signed-off-by: Michal Januszewski <spock@gentoo.org>
Acked-by: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: <syrjala@sci.fi>
Acked-by: Geert Uytterhoeven <geert.uytterhoeven@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/skeletonfb.c
drivers/video/vfb.c
include/linux/fb.h