mirror of
https://github.com/torvalds/linux
synced 2024-10-17 00:39:37 +00:00
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: Dorcas AnonoLitunya <anonolitunya@gmail.com> Link: https://lore.kernel.org/r/20231016201434.7880-2-anonolitunya@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a2fc3e8215
commit
fd79614e39
|
@ -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 |
|
||||
|
|
Loading…
Reference in a new issue