[PATCH v3 0/7] staging: sm750fb: cleaning code

Matej Dujava mdujava at kocurkovo.cz
Tue May 16 09:20:16 UTC 2017


Folowing patch set cleans some warnings and checkups from checkpatch.pl
and also fix code to better fot linux code style.

Changes since v2 [1]:

* staging: sm750fb: unifying macro usage and definitions
	* move definition of MHZ macro from c file to header.

[1] https://lkml.org/lkml/2017/5/15/875

Matej Dujava (7):
  staging: sm750fb: fix length of lines, function calls and declaration
  staging: sm750fb: unifying macro usage and definitions
  staging: sm750fb: Remove typedef from "typedef enum
    _logical_chip_type_t"
  staging: sm750fb: Remove typedef from "typedef enum _clock_type_t"
  staging: sm750fb: Remove typedef from "typedef enum _disp_output_t"
  staging: sm750fb: Remove typedef from "typedef enum _DPMS_t"
  staging: sm750fb: Remove typedef from "typedef enum
    _sii164_hot_plug_mode_t"

 drivers/staging/sm750fb/ddk750_chip.c    | 29 ++++++-----
 drivers/staging/sm750fb/ddk750_chip.h    | 21 ++++----
 drivers/staging/sm750fb/ddk750_display.c |  2 +-
 drivers/staging/sm750fb/ddk750_display.h | 86 ++++++++++++++++----------------
 drivers/staging/sm750fb/ddk750_dvi.c     | 35 +++++++------
 drivers/staging/sm750fb/ddk750_dvi.h     | 43 ++++++++--------
 drivers/staging/sm750fb/ddk750_hwi2c.c   | 37 +++++---------
 drivers/staging/sm750fb/ddk750_mode.c    |  2 +-
 drivers/staging/sm750fb/ddk750_mode.h    |  2 +-
 drivers/staging/sm750fb/ddk750_power.c   |  2 +-
 drivers/staging/sm750fb/ddk750_power.h   |  7 ++-
 drivers/staging/sm750fb/ddk750_sii164.c  | 49 ++++++++----------
 drivers/staging/sm750fb/ddk750_sii164.h  | 26 +++++-----
 drivers/staging/sm750fb/ddk750_swi2c.c   | 21 +++-----
 drivers/staging/sm750fb/ddk750_swi2c.h   | 18 ++-----
 drivers/staging/sm750fb/sm750.c          | 26 +++++-----
 drivers/staging/sm750fb/sm750.h          |  6 +--
 drivers/staging/sm750fb/sm750_accel.c    | 15 +++---
 drivers/staging/sm750fb/sm750_cursor.c   | 17 +++----
 drivers/staging/sm750fb/sm750_hw.c       |  4 +-
 20 files changed, 205 insertions(+), 243 deletions(-)

-- 
1.8.3.1



More information about the devel mailing list