All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/19] Several cleanings and style fixes
@ 2012-07-05 14:45 Miguel Gómez
  2012-07-05 14:45 ` [PATCH 01/19] Staging: xgifb: Comment cleaning Miguel Gómez
                   ` (19 more replies)
  0 siblings, 20 replies; 56+ messages in thread
From: Miguel Gómez @ 2012-07-05 14:45 UTC (permalink / raw)
  To: arnaud.patard, gregkh, aaro.koskinen, dan.carpenter
  Cc: devel, linux-kernel, Miguel Gómez

Hi!

The goal of this round of patches is to perform a cleaning of the code and
to remove the style problems found on it.

The first patch removes a lot of comments and commented code, leaving only
those that seem interesting to understand the code.
Then there are some patches removing useless structures and pieces of code
that I found during the comment revision.
And also a patch improving some debug strings that I had pending from my
previous round of patches.

Patches 10 to 17 rework some conditions in some places of the code to fix
style errors related to excessive indentation. And patch 18 fixes the remaining
style errors.

Finally patch 19 removes a useless condition.

After this round of pathches, there are no style errors in the code that
are reported by checkpatch.

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 |  245 ++----------
 drivers/staging/xgifb/XGIfb.h       |    8 +-
 drivers/staging/xgifb/vb_def.h      |    3 -
 drivers/staging/xgifb/vb_init.c     |  166 +-------
 drivers/staging/xgifb/vb_init.h     |    1 -
 drivers/staging/xgifb/vb_setmode.c  |  742 ++++++++++++++++-------------------
 drivers/staging/xgifb/vb_struct.h   |    3 -
 drivers/staging/xgifb/vb_table.h    |   55 +--
 drivers/staging/xgifb/vb_util.h     |    1 -
 drivers/staging/xgifb/vgatypes.h    |   37 --
 11 files changed, 437 insertions(+), 838 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 56+ messages in thread

end of thread, other threads:[~2012-07-13 14:02 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05 14:45 [PATCH 00/19] Several cleanings and style fixes Miguel Gómez
2012-07-05 14:45 ` [PATCH 01/19] Staging: xgifb: Comment cleaning Miguel Gómez
2012-07-05 17:24   ` Aaro Koskinen
2012-07-06  8:00     ` Miguel Gómez
2012-07-05 17:35   ` Joe Perches
2012-07-06  8:02     ` Miguel Gómez
2012-07-05 20:35   ` Dan Carpenter
2012-07-06  8:14     ` Miguel Gómez
2012-07-05 14:45 ` [PATCH 02/19] Staging: xgifb: Remove unneeded XGI_LCD_TYPE enumeration Miguel Gómez
2012-07-05 14:45 ` [PATCH 03/19] Staging: xgifb: Remove LCDA detection in xgifb_probe() Miguel Gómez
2012-07-05 14:45 ` [PATCH 04/19] Staging: xgifb: Remove unused struct _chswtable Miguel Gómez
2012-07-05 14:45 ` [PATCH 05/19] Staging: xgifb: Improve debug strings Miguel Gómez
2012-07-05 17:42   ` Aaro Koskinen
2012-07-06  8:09     ` Miguel Gómez
2012-07-05 14:45 ` [PATCH 06/19] Staging: xgifb: Remove useless switch in XGIfb_detect_VB() Miguel Gómez
2012-07-05 14:45 ` [PATCH 07/19] Staging: xgifb: Simplify XGIfb_GetXG21DefaultLVDSModeIdx() Miguel Gómez
2012-07-05 14:45 ` [PATCH 08/19] Staging: xgifb: Remove unneeded var and condition in XGIfb_search_vesamode() Miguel Gómez
2012-07-05 14:45 ` [PATCH 09/19] Staging: xgifb: Remove useless always true condition Miguel Gómez
2012-07-05 14:45 ` [PATCH 10/19] Staging: xgifb: Rework conditions in XGI_SetATTRegs() Miguel Gómez
2012-07-05 14:45 ` [PATCH 11/19] Staging: xgifb: Refactor XGI_AjustCRT2Rate() Miguel Gómez
2012-07-05 14:45 ` [PATCH 12/19] Staging: xgifb: Refactor XGI_GetVBType() Miguel Gómez
2012-07-05 14:45 ` [PATCH 13/19] Staging: xgifb: Rework conditions in XGI_GetVBInfo() Miguel Gómez
2012-07-05 14:45 ` [PATCH 14/19] Staging: xgifb: Refactor XGI_GetCRT2ResInfo() Miguel Gómez
2012-07-05 14:45 ` [PATCH 15/19] Staging: xgifb: Rework conditions in XGI_SetLockRegs() Miguel Gómez
2012-07-05 18:00   ` Aaro Koskinen
2012-07-06  8:12     ` Miguel Gómez
2012-07-06  6:51   ` Dan Carpenter
2012-07-06  9:04     ` Miguel Gómez
2012-07-06 10:27       ` Dan Carpenter
2012-07-05 14:45 ` [PATCH 16/19] Staging: xgifb: Rework conditions in XGI_EnableBridge() Miguel Gómez
2012-07-05 14:46 ` [PATCH 17/19] Staging: xgifb: Rework some conditions in XGI_SetCRT2ModeRegs() Miguel Gómez
2012-07-05 14:46 ` [PATCH 18/19] Staging: xgifb: Fix coding style Miguel Gómez
2012-07-05 14:46 ` [PATCH 19/19] Staging: xgifb: Remove useless condition Miguel Gómez
2012-07-06 10:40 ` [PATCH 00/19 v2] Several cleanings and style fixes Miguel Gómez
2012-07-06 10:40   ` [PATCH 01/19 v2] Staging: xgifb: Comment cleaning Miguel Gómez
2012-07-06 10:40   ` [PATCH 02/19 v2] Staging: xgifb: Remove unneeded XGI_LCD_TYPE enumeration Miguel Gómez
2012-07-06 10:40   ` [PATCH 03/19 v2] Staging: xgifb: Remove LCDA detection in xgifb_probe() Miguel Gómez
2012-07-09 18:39     ` Greg KH
2012-07-09 22:08       ` Aaro Koskinen
2012-07-13 14:02       ` Miguel Gómez
2012-07-06 10:40   ` [PATCH 04/19 v2] Staging: xgifb: Remove unused struct _chswtable Miguel Gómez
2012-07-06 10:40   ` [PATCH 05/19 v2] Staging: xgifb: Improve debug strings Miguel Gómez
2012-07-06 10:40   ` [PATCH 06/19 v2] Staging: xgifb: Remove useless switch in XGIfb_detect_VB() Miguel Gómez
2012-07-06 10:40   ` [PATCH 07/19 v2] Staging: xgifb: Simplify XGIfb_GetXG21DefaultLVDSModeIdx() Miguel Gómez
2012-07-06 10:40   ` [PATCH 08/19 v2] Staging: xgifb: Remove unneeded var and condition in XGIfb_search_vesamode() Miguel Gómez
2012-07-06 10:40   ` [PATCH 09/19 v2] Staging: xgifb: Remove useless always true condition Miguel Gómez
2012-07-06 10:40   ` [PATCH 10/19 v2] Staging: xgifb: Rework conditions in XGI_SetATTRegs() Miguel Gómez
2012-07-06 10:40   ` [PATCH 11/19 v2] Staging: xgifb: Refactor XGI_AjustCRT2Rate() Miguel Gómez
2012-07-06 10:40   ` [PATCH 12/19 v2] Staging: xgifb: Refactor XGI_GetVBType() Miguel Gómez
2012-07-06 10:40   ` [PATCH 13/19 v2] Staging: xgifb: Rework conditions in XGI_GetVBInfo() Miguel Gómez
2012-07-06 10:40   ` [PATCH 14/19 v2] Staging: xgifb: Refactor XGI_GetCRT2ResInfo() Miguel Gómez
2012-07-06 10:40   ` [PATCH 15/19 v2] Staging: xgifb: Rework conditions in XGI_SetLockRegs() Miguel Gómez
2012-07-06 10:40   ` [PATCH 16/19 v2] Staging: xgifb: Rework conditions in XGI_EnableBridge() Miguel Gómez
2012-07-06 10:40   ` [PATCH 17/19 v2] Staging: xgifb: Rework some conditions in XGI_SetCRT2ModeRegs() Miguel Gómez
2012-07-06 10:40   ` [PATCH 18/19 v2] Staging: xgifb: Fix coding style Miguel Gómez
2012-07-06 10:40   ` [PATCH 19/19 v2] Staging: xgifb: Remove useless condition Miguel Gómez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.