Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: sm750fb: rename camel case identifiers

Rename two identifiers from camel case to snake case, in order to follow
kernel coding style.

Changes:

- Local variable `deCtrl` to `de_ctrl`
- Function `deGetTransparency` to `de_get_transparency`

Signed-off-by: Ahmet Sezgin Duran <ahmet@sezginduran.net>
Link: https://lore.kernel.org/r/20250920155552.261976-1-ahmet@sezginduran.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ahmet Sezgin Duran and committed by
Greg Kroah-Hartman
7c28d77c d51ffb3b

+5 -5
+5 -5
drivers/staging/sm750fb/sm750_accel.c
··· 89 89 u32 x, u32 y, u32 width, u32 height, 90 90 u32 color, u32 rop) 91 91 { 92 - u32 deCtrl; 92 + u32 de_ctrl; 93 93 94 94 if (accel->de_wait() != 0) { 95 95 /* ··· 121 121 ((width << DE_DIMENSION_X_SHIFT) & DE_DIMENSION_X_MASK) | 122 122 (height & DE_DIMENSION_Y_ET_MASK)); /* dpr8 */ 123 123 124 - deCtrl = DE_CONTROL_STATUS | DE_CONTROL_LAST_PIXEL | 124 + de_ctrl = DE_CONTROL_STATUS | DE_CONTROL_LAST_PIXEL | 125 125 DE_CONTROL_COMMAND_RECTANGLE_FILL | DE_CONTROL_ROP_SELECT | 126 126 (rop & DE_CONTROL_ROP_MASK); /* dpr0xc */ 127 127 128 - write_dpr(accel, DE_CONTROL, deCtrl); 128 + write_dpr(accel, DE_CONTROL, de_ctrl); 129 129 return 0; 130 130 } 131 131 ··· 284 284 return 0; 285 285 } 286 286 287 - static unsigned int deGetTransparency(struct lynx_accel *accel) 287 + static unsigned int de_get_transparency(struct lynx_accel *accel) 288 288 { 289 289 unsigned int de_ctrl; 290 290 ··· 391 391 DE_CONTROL_ROP_SELECT | DE_CONTROL_COMMAND_HOST_WRITE | 392 392 DE_CONTROL_HOST | DE_CONTROL_STATUS; 393 393 394 - write_dpr(accel, DE_CONTROL, de_ctrl | deGetTransparency(accel)); 394 + write_dpr(accel, DE_CONTROL, de_ctrl | de_get_transparency(accel)); 395 395 396 396 /* Write MONO data (line by line) to 2D Engine data port */ 397 397 for (i = 0; i < height; i++) {