staging: sm750fb: rename `hw_sm750_setBLANK`
authorEric Florin <ericflorin@google.com>
Mon, 19 May 2025 02:04:51 +0000 (19:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 11:48:23 +0000 (13:48 +0200)
Rename `hw_sm750_setBLANK` to `hw_sm750_set_blank` to conform with
kernel style guidelines as reported by checkpatch.pl

CHECK: Avoid CamelCase: <hw_sm750_setBLANK>

Signed-off-by: Eric Florin <ericflorin@google.com>
Link: https://lore.kernel.org/r/e00a39ffba89e000fdf8dc277166297d995aa891.1747619816.git.ericflorin@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c
drivers/staging/sm750fb/sm750.h
drivers/staging/sm750fb/sm750_hw.c

index 935c7b1a0fa47b02047c3a1ea5a73f1396d463d6..eb7e107bae687aa0f94c9fdf64c497a665d9af59 100644 (file)
@@ -606,7 +606,7 @@ static int sm750fb_set_drv(struct lynxfb_par *par)
        crtc->ywrapstep = 0;
 
        output->proc_setBLANK = (sm750_dev->revid == SM750LE_REVISION_ID) ?
-                                hw_sm750le_setBLANK : hw_sm750_setBLANK;
+                                hw_sm750le_setBLANK : hw_sm750_set_blank;
        /* chip specific phase */
        sm750_dev->accel.de_wait = (sm750_dev->revid == SM750LE_REVISION_ID) ?
                                    hw_sm750le_de_wait : hw_sm750_de_wait;
index a70f51d08dd2c4d0529198f475ca52d70cc4d45d..97682cb8c58ff77415668e729bae32814638e819 100644 (file)
@@ -211,7 +211,7 @@ int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
 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);
+int hw_sm750_set_blank(struct lynxfb_output *output, int blank);
 int hw_sm750le_setBLANK(struct lynxfb_output *output, int blank);
 int hw_sm750_pan_display(struct lynxfb_crtc *crtc,
                         const struct fb_var_screeninfo *var,
index 04a0f9218eb87464715cf5e3a01042525fc1ca31..c64807cd06b39cd9c95fb5875f0a434385b131b7 100644 (file)
@@ -421,7 +421,7 @@ int hw_sm750le_setBLANK(struct lynxfb_output *output, int blank)
        return 0;
 }
 
-int hw_sm750_setBLANK(struct lynxfb_output *output, int blank)
+int hw_sm750_set_blank(struct lynxfb_output *output, int blank)
 {
        unsigned int dpms, pps, crtdb;