[PATCH 00/17] staging: xgifb: vb_setmode cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux