diff options
author | 2023-10-16 23:14:12 +0300 | |
---|---|---|
committer | 2023-10-17 15:38:00 +0200 | |
commit | 260e7623d948301e6d99e43c215cf80da899b1ea (patch) | |
tree | 2344b74aadd99e2d5834eb7a1aa3c71dc24a0279 /drivers/staging/sm750fb/sm750_hw.c | |
parent | Staging: sm750fb: Rename programModeRegisters (diff) | |
download | wireguard-linux-260e7623d948301e6d99e43c215cf80da899b1ea.tar.xz wireguard-linux-260e7623d948301e6d99e43c215cf80da899b1ea.zip |
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>
Diffstat (limited to 'drivers/staging/sm750fb/sm750_hw.c')
-rw-r--r-- | drivers/staging/sm750fb/sm750_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/sm750_hw.c b/drivers/staging/sm750fb/sm750_hw.c index 71247eaf26ee..4bc89218c11c 100644 --- a/drivers/staging/sm750fb/sm750_hw.c +++ b/drivers/staging/sm750fb/sm750_hw.c @@ -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; |