Commit fd79614e authored by Dorcas AnonoLitunya's avatar Dorcas AnonoLitunya Committed by Greg Kroah-Hartman

Staging: sm750fb: Rename displayControlAdjust_SM750E

Rename function displayControlAdjust_SM750E to
display_control_adjust_SM750E. This follows snakecase naming convention
and ensures a consistent naming style throughout the file. Issue found by
checkpatch.

Mutes the following error:
CHECK:Avoid CamelCase: <displayControlAdjust_SM750E>
Signed-off-by: default avatarDorcas AnonoLitunya <anonolitunya@gmail.com>
Link: https://lore.kernel.org/r/20231016201434.7880-2-anonolitunya@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a2fc3e82
......@@ -14,8 +14,8 @@
* in bit 29:27 of Display Control register.
*/
static unsigned long
displayControlAdjust_SM750LE(struct mode_parameter *pModeParam,
unsigned long dispControl)
display_control_adjust_SM750LE(struct mode_parameter *pModeParam,
unsigned long dispControl)
{
unsigned long x, y;
......@@ -125,7 +125,7 @@ static int programModeRegisters(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 |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment