Skip to content

Commit f3147ce

Browse files
Eric Floringregkh
authored andcommitted
staging: sm750fb: rename hw_sm750_setColReg
Rename `hw_sm750_setColReg` to `hw_sm750_set_col_reg` to conform with kernel style guidelines as reported by checkpatch.pl CHECK: Avoid CamelCase: <hw_sm750_setColReg> Signed-off-by: Eric Florin <[email protected]> Link: https://lore.kernel.org/r/3d4bb87742eee4a6792bbdae893256f621ffffe6.1747619816.git.ericflorin@google.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3f001e6 commit f3147ce

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

drivers/staging/sm750fb/sm750.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ static int lynxfb_ops_setcolreg(unsigned int regno,
545545
red >>= 8;
546546
green >>= 8;
547547
blue >>= 8;
548-
ret = hw_sm750_setColReg(crtc, regno, red, green, blue);
548+
ret = hw_sm750_set_col_reg(crtc, regno, red, green, blue);
549549
goto exit;
550550
}
551551

drivers/staging/sm750fb/sm750.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
208208
struct fb_var_screeninfo *var,
209209
struct fb_fix_screeninfo *fix);
210210

211-
int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index,
212-
ushort red, ushort green, ushort blue);
211+
int hw_sm750_set_col_reg(struct lynxfb_crtc *crtc, ushort index,
212+
ushort red, ushort green, ushort blue);
213213

214214
int hw_sm750_setBLANK(struct lynxfb_output *output, int blank);
215215
int hw_sm750le_setBLANK(struct lynxfb_output *output, int blank);

drivers/staging/sm750fb/sm750_hw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,8 @@ int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
370370
return ret;
371371
}
372372

373-
int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index, ushort red,
374-
ushort green, ushort blue)
373+
int hw_sm750_set_col_reg(struct lynxfb_crtc *crtc, ushort index, ushort red,
374+
ushort green, ushort blue)
375375
{
376376
static unsigned int add[] = { PANEL_PALETTE_RAM, CRT_PALETTE_RAM };
377377

0 commit comments

Comments
 (0)