Several cleanings and style fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest19 patches 3 repliesIn review
- v119 patches 13 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | Staging: xgifb: Comment cleaning.drivers/ drivers/ drivers/ +5 more | +61 | 0 replies | |
| 2/19 | Staging: xgifb: Remove unneeded XGI_LCD_TYPE enumeration.drivers/ | +0 | 0 replies | |
| 3/19 | Staging: xgifb: Remove LCDA detection in xgifb_probe().drivers/ | +0 | 3 replies | |
| 4/19 | Staging: xgifb: Remove unused struct _chswtable.drivers/ | +0 | 0 replies | |
| 5/19 | Staging: xgifb: Improve debug strings.drivers/ drivers/ | +19 | 0 replies | |
| 6/19 | Staging: xgifb: Remove useless switch in XGIfb_detect_VB().drivers/ | +0 | 0 replies | |
| 7/19 | Staging: xgifb: Simplify XGIfb_GetXG21DefaultLVDSModeIdx().drivers/ | +9 | 0 replies | |
| 8/19 | Staging: xgifb: Remove unneeded var and condition in XGIfb_search_vesamode().drivers/ | +3 | 0 replies | |
| 9/19 | Staging: xgifb: Remove useless always true condition.drivers/ | +0 | 0 replies | |
| 10/19 | Staging: xgifb: Rework conditions in XGI_SetATTRegs().drivers/ | +8 | 0 replies | |
| 11/19 | Staging: xgifb: Refactor XGI_AjustCRT2Rate().drivers/ | +25 | 0 replies | |
| 12/19 | Staging: xgifb: Refactor XGI_GetVBType().drivers/ | +36 | 0 replies | |
| 13/19 | Staging: xgifb: Rework conditions in XGI_GetVBInfo().drivers/ | +142 | 0 replies | |
| 14/19 | Staging: xgifb: Refactor XGI_GetCRT2ResInfo().drivers/ | +31 | 0 replies | |
| 15/19 | Staging: xgifb: Rework conditions in XGI_SetLockRegs().drivers/ | +10 | 0 replies | |
| 16/19 | Staging: xgifb: Rework conditions in XGI_EnableBridge().drivers/ | +18 | 0 replies | |
| 17/19 | Staging: xgifb: Rework some conditions in XGI_SetCRT2ModeRegs().drivers/ | +36 | 0 replies | |
| 18/19 | Staging: xgifb: Fix coding style.drivers/ drivers/ drivers/ +1 more | +58 | 0 replies | |
| 19/19 | Staging: xgifb: Remove useless condition.drivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 00/19 v2] Several cleanings and style fixes
Hi!
Second version of the patches round containing suggestions made to the first version:
* patch 0001:
** keep some useful comments.
** format a couple of multiline comments
** don't remove empty lines in vb_util.h and vb_init.h
* patch 0005:
** remove exclamation marks from a string
* patch 0015
** simplify a bit more by joining another couple of conditions
* patch 0017
** replace do-while with gotos
* patch 0018
** move some comments to previous line instead of modifying them
Also, I'm sending all of the patches again because they were encoded in base64 instead of 8bit.
Regards!
Miguel Gómez (19):
Staging: xgifb: Comment cleaning.
Staging: xgifb: Remove unneeded XGI_LCD_TYPE enumeration.
Staging: xgifb: Remove LCDA detection in xgifb_probe().
Staging: xgifb: Remove unused struct _chswtable.
Staging: xgifb: Improve debug strings.
Staging: xgifb: Remove useless switch in XGIfb_detect_VB().
Staging: xgifb: Simplify XGIfb_GetXG21DefaultLVDSModeIdx().
Staging: xgifb: Remove unneeded var and condition in
XGIfb_search_vesamode().
Staging: xgifb: Remove useless always true condition.
Staging: xgifb: Rework conditions in XGI_SetATTRegs().
Staging: xgifb: Refactor XGI_AjustCRT2Rate().
Staging: xgifb: Refactor XGI_GetVBType().
Staging: xgifb: Rework conditions in XGI_GetVBInfo().
Staging: xgifb: Refactor XGI_GetCRT2ResInfo().
Staging: xgifb: Rework conditions in XGI_SetLockRegs().
Staging: xgifb: Rework conditions in XGI_EnableBridge().
Staging: xgifb: Rework some conditions in XGI_SetCRT2ModeRegs().
Staging: xgifb: Fix coding style.
Staging: xgifb: Remove useless condition.
drivers/staging/xgifb/XGI_main.h | 14 - drivers/staging/xgifb/XGI_main_26.c | 247 +++--------- drivers/staging/xgifb/XGIfb.h | 8 +- drivers/staging/xgifb/vb_def.h | 3 - drivers/staging/xgifb/vb_init.c | 166 +------- drivers/staging/xgifb/vb_setmode.c | 747 ++++++++++++++++------------------- drivers/staging/xgifb/vb_struct.h | 3 - drivers/staging/xgifb/vb_table.h | 65 ++- drivers/staging/xgifb/vgatypes.h | 34 -- 9 files changed, 455 insertions(+), 832 deletions(-)
Signature · 1 line
1.7.9.5