cirrusfb: drop clock fields from cirrusfb_regs structure
commitdafa32c5a1da19edca1d5c1b74d30d5d07b9befd
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Thu, 16 Oct 2008 05:03:40 +0000 (15 22:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:44 +0000 (16 11:21 -0700)
treee5704d6f6c04d38bdc7b4fd300b25bdc7c9444bf
parent9a85cf51fb880e24179fc45d3ee7d5ff1eb58c3a
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