viafb: improve misc register handling
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 17 Apr 2010 19:44:55 +0000 (19:44 +0000)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 May 2010 23:17:39 +0000 (17:17 -0600)
commit162fc8c0c03d5b8536f14cbd2cdfb399c50c05ec
treed62f5f29718844d37075d8f485eaeee55f46ae2a
parent384c3041aeaf77d299b0d4a62481850fed86e53b
viafb: improve misc register handling

viafb: improve misc register handling

This patch improves the misc register handling by adding a modify
function for this to via_io.h and moving expanded definitions of the
relevant ports there. The code was changed to use those to improve
readability.

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