mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 04:09:18 -04:00
staging: sm750fb: rename hw_sm750_crtc_setMode
Rename `hw_sm750_crtc_setMode` to `hw_sm750_crtc_set_mode` to conform with kernel style guidelines as reported by checkpatch.pl CHECK: Avoid CamelCase: <hw_sm750_crtc_setMode> Signed-off-by: Eric Florin <ericflorin@google.com> Link: https://lore.kernel.org/r/40d4a1f5b05bcb0eefdd787b9df329fceb96105e.1747619816.git.ericflorin@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b6822fc351
commit
3f001e6d00
@@ -392,7 +392,7 @@ static int lynxfb_ops_set_par(struct fb_info *info)
|
||||
pr_err("bpp %d not supported\n", var->bits_per_pixel);
|
||||
return ret;
|
||||
}
|
||||
ret = hw_sm750_crtc_setMode(crtc, var, fix);
|
||||
ret = hw_sm750_crtc_set_mode(crtc, var, fix);
|
||||
if (!ret)
|
||||
ret = hw_sm750_output_set_mode(output, var, fix);
|
||||
return ret;
|
||||
|
||||
@@ -204,9 +204,9 @@ int hw_sm750_output_set_mode(struct lynxfb_output *output,
|
||||
int hw_sm750_crtc_check_mode(struct lynxfb_crtc *crtc,
|
||||
struct fb_var_screeninfo *var);
|
||||
|
||||
int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc,
|
||||
struct fb_var_screeninfo *var,
|
||||
struct fb_fix_screeninfo *fix);
|
||||
int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
|
||||
struct fb_var_screeninfo *var,
|
||||
struct fb_fix_screeninfo *fix);
|
||||
|
||||
int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index,
|
||||
ushort red, ushort green, ushort blue);
|
||||
|
||||
@@ -245,9 +245,9 @@ int hw_sm750_crtc_check_mode(struct lynxfb_crtc *crtc,
|
||||
}
|
||||
|
||||
/* set the controller's mode for @crtc charged with @var and @fix parameters */
|
||||
int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc,
|
||||
struct fb_var_screeninfo *var,
|
||||
struct fb_fix_screeninfo *fix)
|
||||
int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
|
||||
struct fb_var_screeninfo *var,
|
||||
struct fb_fix_screeninfo *fix)
|
||||
{
|
||||
int ret, fmt;
|
||||
u32 reg;
|
||||
|
||||
Reference in New Issue
Block a user