viafb: simplify lcd size "detection"
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 2 Jun 2010 19:41:23 +0000 (19:41 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Fri, 23 Jul 2010 14:35:50 +0000 (14:35 +0000)
commitcc3fd679a344468e892a109b8de3e2948ce14e0f
treedf07323f350c4d90c81e7e2f0584d23c20e2e347
parentad0676cf81c240e3857dc090c9ce0dde7537ac93
viafb: simplify lcd size "detection"

viafb: simplify lcd size "detection"

Remove all occurences of get_lcd_size_method as only the values
GET_LCD_SIZE_BY_VGA_BIOS and GET_LCD_SIZE_BY_USER_SETTING were used
which had the identical code so there is no need to make things look
more complicated than they actually are.
Just a bit of of cleanup, really no regressions expected.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
drivers/video/via/chip.h
drivers/video/via/hw.c
drivers/video/via/lcd.c
drivers/video/via/lcd.h