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

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


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3f001e6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -545,7 +545,7 @@ static int lynxfb_ops_setcolreg(unsigned int regno,
		red >>= 8;
		green >>= 8;
		blue >>= 8;
		ret = hw_sm750_setColReg(crtc, regno, red, green, blue);
		ret = hw_sm750_set_col_reg(crtc, regno, red, green, blue);
		goto exit;
	}

+2 −2
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ 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,
int hw_sm750_set_col_reg(struct lynxfb_crtc *crtc, ushort index,
			 ushort red, ushort green, ushort blue);

int hw_sm750_setBLANK(struct lynxfb_output *output, int blank);
+2 −2
Original line number Diff line number Diff line
@@ -370,7 +370,7 @@ int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
	return ret;
}

int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index, ushort red,
int hw_sm750_set_col_reg(struct lynxfb_crtc *crtc, ushort index, ushort red,
			 ushort green, ushort blue)
{
	static unsigned int add[] = { PANEL_PALETTE_RAM, CRT_PALETTE_RAM };