diff mbox series

[v2,26/49] staging: sm750fb: Update function parameter of sm750_hw_imageblit to snake case

Message ID 080958faf487654e336a2e8ce152bfd756128617.1617776878.git.pavle.rohalj@gmail.com
State New
Headers show
Series *** SUBJECT HERE *** | expand

Commit Message

Pavle Rohalj April 7, 2021, 6:43 a.m. UTC
Fix "Avoid CamelCase" checkpoint.pl checks for the function parameter
fColor in the function sm750_hw_imageblit.

Signed-off-by: Pavle Rohalj <pavle.rohalj@gmail.com>
---
 drivers/staging/sm750fb/sm750_accel.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c
index 8ab7d827a99e..d0b64962b10e 100644
--- a/drivers/staging/sm750fb/sm750_accel.c
+++ b/drivers/staging/sm750fb/sm750_accel.c
@@ -310,14 +310,14 @@  static unsigned int de_get_transparency(struct lynx_accel *accel)
  * @dy: Starting y coordinate of destination surface
  * @width: width of rectangle in pixel value
  * @height: height of rectangle in pixel value
- * @fColor: Foreground color (corresponding to a 1 in the monochrome data
+ * @f_color: Foreground color (corresponding to a 1 in the monochrome data
  * @b_olor: Background color (corresponding to a 0 in the monochrome data
  * @rop2: ROP value
  */
 int sm750_hw_imageblit(struct lynx_accel *accel, const char *src_buf,
 		       u32 src_delta, u32 start_bit, u32 d_base, u32 d_pitch,
 		       u32 byte_per_pixel, u32 dx, u32 dy, u32 width,
-		       u32 height, u32 fColor, u32 b_olor, u32 rop2)
+		       u32 height, u32 f_color, u32 b_olor, u32 rop2)
 {
 	unsigned int ul_bytes_per_scan;
 	unsigned int ul4_bytes_per_scan;
@@ -383,7 +383,7 @@  int sm750_hw_imageblit(struct lynx_accel *accel, const char *src_buf,
 		  ((width << DE_DIMENSION_X_SHIFT) & DE_DIMENSION_X_MASK) |
 		  (height & DE_DIMENSION_Y_ET_MASK)); /* dpr08 */
 
-	write_dpr(accel, DE_FOREGROUND, fColor);
+	write_dpr(accel, DE_FOREGROUND, f_color);
 	write_dpr(accel, DE_BACKGROUND, b_olor);
 
 	de_ctrl = (rop2 & DE_CONTROL_ROP_MASK) |