]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
staging: sm750fb: rename 'hwCursor'
authorKisub Choe <kisub.choe.0x1@gmail.com>
Wed, 18 Jun 2025 14:33:42 +0000 (23:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 15:32:46 +0000 (17:32 +0200)
Rename 'hwCursor' to 'hw_cursor' to
conform with kernel style guidelines as reported by checkpatch.pl

CHECK: Avoid CamelCase: <hwCursor>

Signed-off-by: Kisub Choe <kisub.choe.0x1@gmail.com>
Link: https://lore.kernel.org/r/20250618143342.6517-1-kisub.choe.0x1@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c
drivers/staging/sm750fb/sm750.h

index 1d929aca399c16026dd96975c190147405864af8..62d8701d18dd043f2eb292b86602d5d82bbf3174 100644 (file)
@@ -598,7 +598,7 @@ static int sm750fb_set_drv(struct lynxfb_par *par)
                crtc->vidmem_size >>= 1;
 
        /* setup crtc and output member */
-       sm750_dev->hwCursor = g_hwcursor;
+       sm750_dev->hw_cursor = g_hwcursor;
 
        crtc->line_pad = 16;
        crtc->xpanstep = 8;
index 9cf8b3d30aacfbc11442ca5ae66cdbd0b493ca38..52ccf1b51630e0c9bef469d5582b1df8c8c207e8 100644 (file)
@@ -113,7 +113,7 @@ struct sm750_dev {
         * 2: secondary crtc hw cursor enabled
         * 3: both ctrc hw cursor enabled
         */
-       int hwCursor;
+       int hw_cursor;
 };
 
 struct lynx_cursor {