[PATCH 00/17] staging: xgifb: vb_setmode cleanups
Aaro Koskinen
aaro.koskinen at iki.fi
Sun Nov 27 21:03:04 UTC 2011
Hi,
Here's some cleanups for vb_setmode.c. No changes in functionality.
The patches are based and tested on top of the current staging-next
(c0fe602f2de66fa775b1d28981212ff853a62d1b).
Testing:
- compile-tested with GCC 4.6.2 + sparse, no warnings.
- tested with Z9 (XG21) on ARM, with external VGA display:
- framebuffer console works OK
Aaro Koskinen (17):
staging: xgifb: vb_setmode: make XGI_LongWait() static
staging: xgifb: vb_setmode: make XGI_GetResInfo() static
staging: xgifb: vb_setmode: make XGI_SetXG21FPBits() static
staging: xgifb: vb_setmode: make XGI_SetXG27FPBits() static
staging: xgifb: vb_setmode: make XGI_XG21BLSignalVDD() static
staging: xgifb: vb_setmode: make XGI_XG27BLSignalVDD() static
staging: xgifb: vb_setmode: make XGI_XG21SetPanelDelay() static
staging: xgifb: vb_setmode: make XGI_GetLVDSOEMTableIndex() static
staging: xgifb: vb_setmode: make internal functions static
staging: xgifb: vb_setmode: eliminate GetVGAType/Set_VGAType
staging: xgifb: vb_setmode: inline XGI_SetMiscRegs()
staging: xgifb: vb_setmode: delete commented-out code
staging: xgifb: vb_setmode: delete XGI_VBLongWait()
staging: xgifb: vb_setmode: delete empty if statement blocks
staging: xgifb: vb_setmode: reduce if nesting in XGI_SetLockRegs()
staging: xgifb: vb_setmode: reduce if nesting in XGI_GetVCLK2Ptr()
staging: xgifb: vb_setmode: clean up a single statement if
drivers/staging/xgifb/vb_setmode.c | 897 ++++++++++--------------------------
drivers/staging/xgifb/vb_setmode.h | 46 --
drivers/staging/xgifb/vb_struct.h | 2 +-
3 files changed, 247 insertions(+), 698 deletions(-)
--
1.7.2.5
More information about the devel
mailing list