diff options
author | Arushi Singhal <arushisinghal19971997@gmail.com> | 2017-03-21 18:06:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-23 16:23:19 +0300 |
commit | bf76023131b35dbd5b0ae2d23ea6872f1c15af95 (patch) | |
tree | a12b0f1f5435cf31c0c61885858904c432106e61 /drivers/staging/sm750fb/ddk750_mode.h | |
parent | fdbcd023576a4397dcef3acffa1b8c00993cbf90 (diff) | |
download | linux-bf76023131b35dbd5b0ae2d23ea6872f1c15af95.tar.xz |
staging: sm750fb: Remove typedef from "typedef struct _mode_parameter_t"
This patch removes typedefs from struct and renames it from "typedef
struct _mode_parameter_t" to "struct mode_parameter" as per kernel
coding standards."
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_mode.h')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_mode.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/staging/sm750fb/ddk750_mode.h b/drivers/staging/sm750fb/ddk750_mode.h index 6d204b8b4a01..9dc4d6c5a779 100644 --- a/drivers/staging/sm750fb/ddk750_mode.h +++ b/drivers/staging/sm750fb/ddk750_mode.h @@ -9,7 +9,7 @@ typedef enum _spolarity_t { } spolarity_t; -typedef struct _mode_parameter_t { +struct mode_parameter { /* Horizontal timing. */ unsigned long horizontal_total; unsigned long horizontal_display_end; @@ -31,9 +31,7 @@ typedef struct _mode_parameter_t { /* Clock Phase. This clock phase only applies to Panel. */ spolarity_t clock_phase_polarity; -} -mode_parameter_t; - -int ddk750_setModeTiming(mode_parameter_t *parm, clock_type_t clock); +}; +int ddk750_setModeTiming(struct mode_parameter *parm, clock_type_t clock); #endif |