staging: sm750fb: avoid camelcase function names
Subsystems (2)
PATCH 1/3 staging: sm750fb: avoid camelcase function names
Eliminate camelcase function names to fix the style issue – 'avoid camelcase'.
Signed-off-by Payal Kshirsagar <[email protected]>
--- drivers/staging/sm750fb/ddk750_mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/sm750fb/ddk750_mode.c +3 -3
@@ -13,8 +13,8 @@* HW only supports 7 predefined pixel clocks, and clock select is * in bit 29:27 of Display Control register. */ -static unsigned long displayControlAdjust_SM750LE (struct mode_parameter *pModeParam, -unsigned long dispcontrol) +static unsigned long display_control_adjust_SM750LE (struct mode_parameter *pModeParam, +unsigned long dispcontrol) {unsigned long x, y;
@@ -124,7 +124,7 @@ static int program_mode_registers(struct mode_parameter *pModeParam, tmp |=DISPLAY_CTRL_HSYNC_PHASE ;if (sm750_get_chip_type () ==SM750LE ) { -displayControlAdjust_SM750LE (pModeParam, tmp); +display_control_adjust_SM750LE (pModeParam, tmp); }else { reg = peek32(CRT_DISPLAY_CTRL) & ~(DISPLAY_CTRL_VSYNC_PHASE |
Signature · 1 line
2.7.4
Greg KH
maintainerQuoted 24 lines · Payal Kshirsagar
Eliminate camelcase function names to fix the style issue – 'avoid camelcase'.
Signed-off-by Payal Kshirsagar <[email protected]>--- drivers/staging/sm750fb/ddk750_mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/staging/sm750fb/ddk750_mode.c +2
-2@@ -13,8 +13,8 @@* HW only supports 7 predefined pixel clocks, and clock select is * in bit 29:27 of Display Control register. */ -static unsigned long displayControlAdjust_SM750LE (struct mode_parameter *pModeParam, -unsigned long dispcontrol) +static unsigned long display_control_adjust_SM750LE (struct mode_parameter *pModeParam, +unsigned long dispcontrol) {unsigned long x, y;
drivers/staging/sm750fb/ddk750_mode.c static int program_mode_registers(struct mode_parameter *pModeParam, · line 130
Quoted 8 lines
drivers/staging/sm750fb/ddk750_mode.c +1
-1@@ -124,7 +124,7 @@ static int program_mode_registers(struct mode_parameter *pModeParam, tmp |=DISPLAY_CTRL_HSYNC_PHASE ;if (sm750_get_chip_type () ==SM750LE ) { -displayControlAdjust_SM750LE (pModeParam, tmp); +display_control_adjust_SM750LE (pModeParam, tmp); }else { reg = peek32(CRT_DISPLAY_CTRL) & ~(DISPLAY_CTRL_VSYNC_PHASE |
This patch does not apply to my tree at all :(
Please rebase and resend it.
thanks,
greg k-h