viafb: limit LCD code impact
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Tue, 7 Sep 2010 01:24:52 +0000 (01:24 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Fri, 24 Sep 2010 02:15:01 +0000 (02:15 +0000)
commitc2a07c932dad49b3b80b11132183b8b2ec8ea1aa
treef78085e8c27eea71fd70ae90fd3c29583bdaf477
parent2a9183923af1f6f4da66aeabf9fa5af0dc58ccec
viafb: limit LCD code impact

This patch cleans the LCD code up. It forbids overwritting global
decissions like what IGA should be used as the source and whether to
enable the second display channel. Additionally it removes a bit code
duplication.

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