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

staging: sm750fb: rename `hw_sm750_output_setMode`



Rename `hw_sm750_output_setMode` to `hw_sm750_output_set_mode` to
conform with kernel style guidelines as reported by checkpatch.pl

CHECK: Avoid CamelCase: <hw_sm750_output_setMode>

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


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2a7639ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -394,7 +394,7 @@ static int lynxfb_ops_set_par(struct fb_info *info)
	}
	ret = hw_sm750_crtc_setMode(crtc, var, fix);
	if (!ret)
		ret = hw_sm750_output_setMode(output, var, fix);
		ret = hw_sm750_output_set_mode(output, var, fix);
	return ret;
}

+3 −3
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ void hw_sm750_init_accel(struct sm750_dev *sm750_dev);
int hw_sm750_de_wait(void);
int hw_sm750le_de_wait(void);

int hw_sm750_output_setMode(struct lynxfb_output *output,
int hw_sm750_output_set_mode(struct lynxfb_output *output,
			     struct fb_var_screeninfo *var,
			     struct fb_fix_screeninfo *fix);

+3 −3
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev)
	return 0;
}

int hw_sm750_output_setMode(struct lynxfb_output *output,
int hw_sm750_output_set_mode(struct lynxfb_output *output,
			     struct fb_var_screeninfo *var,
			     struct fb_fix_screeninfo *fix)
{