viafb: remove duplicated clock information
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 9 Mar 2011 22:13:32 +0000 (22:13 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 12 Mar 2011 10:21:54 +0000 (10:21 +0000)
commitf5b1c4b3b6d407ec5a9d93ca12738c4c7911000c
treec7c5ab11ee8a8c8be3a955b858483f752070abf4
parent23e5abd5555b86fd56af6383e7a832b0cf2a2d95
viafb: remove duplicated clock information

This patch removes the direct lookup table for resolution+refresh and
pixclock by calculating this information from the mode table. Removes a
lot of dupllication and error potential by just doing a little more
calculations on each mode change.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/via/hw.c
drivers/video/via/share.h
drivers/video/via/viamode.c
drivers/video/via/viamode.h