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

staging: sm750fb: rename `hw_sm750_crtc_checkMode`



Rename `hw_sm750_crtc_checkMode` to `hw_sm750_crtc_check_mode` to
conform with kernel style guidelines as reported by checkpatch.pl

CHECK: Avoid CamelCase: <hw_sm750_crtc_checkMode>

Signed-off-by: default avatarEric Florin <ericflorin@google.com>
Link: https://lore.kernel.org/r/546e9abb8eac1be75f47b51460ab69a5736d8a99.1747619816.git.ericflorin@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1bfa7395
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -512,7 +512,7 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var,
		return -ENOMEM;
	}

	return hw_sm750_crtc_checkMode(crtc, var);
	return hw_sm750_crtc_check_mode(crtc, var);
}

static int lynxfb_ops_setcolreg(unsigned int regno,
+2 −2
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@ int hw_sm750_output_set_mode(struct lynxfb_output *output,
			     struct fb_var_screeninfo *var,
			     struct fb_fix_screeninfo *fix);

int hw_sm750_crtc_checkMode(struct lynxfb_crtc *crtc,
int hw_sm750_crtc_check_mode(struct lynxfb_crtc *crtc,
			     struct fb_var_screeninfo *var);

int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc,
+2 −2
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ int hw_sm750_output_set_mode(struct lynxfb_output *output,
	return ret;
}

int hw_sm750_crtc_checkMode(struct lynxfb_crtc *crtc,
int hw_sm750_crtc_check_mode(struct lynxfb_crtc *crtc,
			     struct fb_var_screeninfo *var)
{
	struct sm750_dev *sm750_dev;