]> git.baikalelectronics.ru Git - kernel.git/commit
cirrusfb: drop clock fields from cirrusfb_regs structure
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Thu, 16 Oct 2008 05:03:40 +0000 (22:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:44 +0000 (11:21 -0700)
commit5266b6f7399e9e25b2fc10b5977e48519e4ac310
treee5704d6f6c04d38bdc7b4fd300b25bdc7c9444bf
parent7a44de4e104db0562a38478c7954af6076043a75
cirrusfb: drop clock fields from cirrusfb_regs structure

Move call to pixclock calculation into the cirrusfb_set_par_foo().  It
makes copy of clock registers redundant.

Simplify clock calculations further.

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>
drivers/video/cirrusfb.c