Commit 3f001e6d authored by Eric Florin's avatar Eric Florin Committed by Greg Kroah-Hartman
Browse files

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: default avatarEric Florin <ericflorin@google.com>
Link: https://lore.kernel.org/r/40d4a1f5b05bcb0eefdd787b9df329fceb96105e.1747619816.git.ericflorin@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b6822fc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+3 −3
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ 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,
int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
			   struct fb_var_screeninfo *var,
			   struct fb_fix_screeninfo *fix);

+3 −3
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ 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,
int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
			   struct fb_var_screeninfo *var,
			   struct fb_fix_screeninfo *fix)
{