Skip to contentSkip to conversation

staging: sm750fb: avoid camelcase function names

PATCH In review Payal Kshirsagar 2 participants 2 messages Mar 21, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 staging: sm750fb: avoid camelcase function names

Eliminate camelcase function names to fix the style issue – 'avoid camelcase'.

---
 drivers/staging/sm750fb/ddk750_mode.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/sm750fb/ddk750_mode.c +3 -3
index 1256b13..5e35fec 100644
@@ -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
maintainer
#1 lore raw
Quoted 24 lines · Payal Kshirsagar

Eliminate camelcase function names to fix the style issue – 'avoid camelcase'.

---
 drivers/staging/sm750fb/ddk750_mode.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/sm750fb/ddk750_mode.c +2 -2
index 1256b13..5e35fec 100644
@@ -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