[PATCH RESEND 00/17] xgifb: random cleanups

Aaro Koskinen aaro.koskinen at iki.fi
Wed May 29 20:58:59 UTC 2013


Hi,

This is a resend of an old series
(http://marc.info/?l=linux-driver-devel&m=136467836824353&w=2).

Patches have been rebased on staging-next
(829455bb0e994373519e3c58d403fc1148f44630) and retested:
	- sparse and GCC (arm) 4.7.3 show no warnings
	- framebuffer console works with Z9/XG21

A.

Aaro Koskinen (17):
  staging: xgifb: refactor XGI_BridgeIsOn()
  staging: xgifb: XGI_GetVBType(): delete IF_DEF_LVDS check
  staging: xgifb: call XGI_GetVBType from InitTo330Pointer
  staging: xgifb: XGI_AjustCRT2Rate(): delete IF_DEF_LVDS check
  staging: xgifb: XGI_GetRatePtrCRT2(): delete IF_DEF_LVDS check
  staging: xgifb: XGI_SetCRT1VCLK(): avoid copy-paste
  staging: xgifb: SetFlag: delete GatingCRT
  staging: xgifb: SetFlag: delete DisableChB
  staging: xgifb: SetFlag: delete EnableChB
  staging: xgifb: SetFlag: delete DisableChA
  staging: xgifb: SetFlag: delete EnableChA
  staging: xgifb: XGI_EnableChISLCD(): delete trivial function
  staging: xgifb: XGI_DisableBridge(): delete redundant checks
  staging: xgifb: delete redundant return statements
  staging: xgifb: vb_setmode: delete IF_DEF_YPbPr checks
  staging: xgifb: vb_setmode: delete IF_DEF_HiVision checks
  staging: xgifb: vb_setmode: delete IF_DEF_CRT2Monitor checks

 drivers/staging/xgifb/vb_def.h     |    5 -
 drivers/staging/xgifb/vb_init.c    |   14 +-
 drivers/staging/xgifb/vb_setmode.c |  411 ++++++++++--------------------------
 drivers/staging/xgifb/vb_setmode.h |    1 -
 4 files changed, 118 insertions(+), 313 deletions(-)

-- 
1.7.10.4




More information about the devel mailing list