staging : sm750fb : ddk750_mode.c fixed codespell issue.
instead of "parm" structure variable, used "param" to ease the readability.
Signed-off-by Rujra Bhatt <[email protected]>
--- drivers/staging/sm750fb/ddk750_mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/sm750fb/ddk750_mode.c +3 -3
@@ -203,19 +203,19 @@ static void program_mode_registers(struct mode_parameter *mode_param, } } -int ddk750_set_mode_timing (struct mode_parameter *parm,enum clock_type clock) +int ddk750_set_mode_timing (struct mode_parameter *param,enum clock_type clock) {struct pll_value pll; pll.input_freq =DEFAULT_INPUT_CLOCK ; pll.clock_type = clock; -sm750_calc_pll_value (parm->pixel_clock, &pll); +sm750_calc_pll_value (param->pixel_clock, &pll);if (sm750_get_chip_type () ==SM750LE ) {/* set graphic mode via IO method */ outb_p (0x88 ,0x3d4 );outb_p (0x06 ,0x3d5 ); } -program_mode_registers (parm, &pll); +program_mode_registers (param, &pll);return 0 ; }
Signature · 1 line
2.43.0
Greg KH
maintainerQuoted 22 lines · Rujra Bhatt
instead of "parm" structure variable, used "param" to ease the readability.
Signed-off-by Rujra Bhatt <[email protected]>--- drivers/staging/sm750fb/ddk750_mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/staging/sm750fb/ddk750_mode.c +1
-1@@ -203,19 +203,19 @@ static void program_mode_registers(struct mode_parameter *mode_param, } } -int ddk750_set_mode_timing (struct mode_parameter *parm,enum clock_type clock) +int ddk750_set_mode_timing (struct mode_parameter *param,enum clock_type clock) {struct pll_value pll; pll.input_freq =DEFAULT_INPUT_CLOCK ; pll.clock_type = clock;
drivers/staging/sm750fb/ddk750_mode.c static void program_mode_registers(struct mode_parameter *mode_param, · line 219
Quoted 10 lines
drivers/staging/sm750fb/ddk750_mode.c +2
-2-sm750_calc_pll_value (parm->pixel_clock, &pll); +sm750_calc_pll_value (param->pixel_clock, &pll);if (sm750_get_chip_type () ==SM750LE ) {/* set graphic mode via IO method */ outb_p (0x88 ,0x3d4 );outb_p (0x06 ,0x3d5 ); } -program_mode_registers (parm, &pll); +program_mode_registers (param, &pll);
This change is really not needed at all, sorry. Adding one character doesn't make it easier to understand in my opinion.
thanks,
greg k-h