viafb: Unify duplicated set_bpp() code
authorJonathan Corbet <corbet@lwn.net>
Fri, 9 Apr 2010 20:06:16 +0000 (14:06 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 20 Apr 2010 20:23:19 +0000 (14:23 -0600)
commitf1b99aa9dbe908b2839885aa999d6e8512fe1040
tree47d6f5f805a8bebb34336c13fed76f752028b395
parent9ca43cf41d014e12f4b25d4538f362d7513448dd
viafb: Unify duplicated set_bpp() code

As suggested by Florian: make both mode-setting paths use the same code.

Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
drivers/video/via/accel.c