Staging: sm750fb: Rename ddk750_setModeTiming
Rename function ddk750_setModeTiming to ddk750_set_mode_timing. This patch affects three files as the function is imported to other external files. This follows snakecase naming convention and ensures a consistent naming style throughout the file. Issue found by checkpatch. Mutes the following checkpatch error: CHECK:Avoid CamelCase: <ddk750_setModeTiming> Signed-off-by: Dorcas AnonoLitunya <anonolitunya@gmail.com> Link: https://lore.kernel.org/r/20231016201434.7880-6-anonolitunya@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3632219898
commit
260e7623d9
@ -207,7 +207,7 @@ static int program_mode_registers(struct mode_parameter *mode_param,
|
||||
return ret;
|
||||
}
|
||||
|
||||
int ddk750_setModeTiming(struct mode_parameter *parm, enum clock_type clock)
|
||||
int ddk750_set_mode_timing(struct mode_parameter *parm, enum clock_type clock)
|
||||
{
|
||||
struct pll_value pll;
|
||||
|
||||
|
@ -33,5 +33,5 @@ struct mode_parameter {
|
||||
enum spolarity clock_phase_polarity;
|
||||
};
|
||||
|
||||
int ddk750_setModeTiming(struct mode_parameter *parm, enum clock_type clock);
|
||||
int ddk750_set_mode_timing(struct mode_parameter *parm, enum clock_type clock);
|
||||
#endif
|
||||
|
@ -305,7 +305,7 @@ int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc,
|
||||
clock = SECONDARY_PLL;
|
||||
|
||||
pr_debug("Request pixel clock = %lu\n", modparm.pixel_clock);
|
||||
ret = ddk750_setModeTiming(&modparm, clock);
|
||||
ret = ddk750_set_mode_timing(&modparm, clock);
|
||||
if (ret) {
|
||||
pr_err("Set mode timing failed\n");
|
||||
goto exit;
|
||||
|
Loading…
Reference in New Issue
Block a user