]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: sm750fb: rename sm750_hw_cursor_setData
authorEric Florin <ericflorin.kernel@gmail.com>
Wed, 30 Apr 2025 05:55:38 +0000 (22:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 May 2025 15:48:39 +0000 (17:48 +0200)
Rename sm750_hw_cursor_setData to sm750_hw_cursor_set_data to conform
with kernel style guidelines as reported by checkpatch.pl

CHECK: Avoid CamelCase: <sm750_hw_cursor_setData>

Signed-off-by: Eric Florin <ericflorin.kernel@gmail.com>
Link: https://lore.kernel.org/r/1ce4ddfd5ddf0443fd5a01ea5a4cb76a90e8cf30.1745982772.git.ericflorin.kernel@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c
drivers/staging/sm750fb/sm750_cursor.c
drivers/staging/sm750fb/sm750_cursor.h

index 483a30841c771aea715fdc39f8b93cfc20612376..d74836fbdfa30157338f6f6962782afc77b6cb59 100644 (file)
@@ -145,10 +145,8 @@ static int lynxfb_ops_cursor(struct fb_info *info, struct fb_cursor *fbcursor)
        }
 
        if (fbcursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) {
-               sm750_hw_cursor_setData(cursor,
-                                       fbcursor->rop,
-                                       fbcursor->image.data,
-                                       fbcursor->mask);
+               sm750_hw_cursor_set_data(cursor, fbcursor->rop, fbcursor->image.data,
+                                        fbcursor->mask);
        }
 
        if (fbcursor->enable)
index e80d6efe0ab19382862649d936dbd054c9fdae03..3aa26ef0001120768e302e58e7be1aec39c35a33 100644 (file)
@@ -81,8 +81,8 @@ void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg)
        poke32(HWC_COLOR_3, 0xffe0);
 }
 
-void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,
-                            const u8 *pcol, const u8 *pmsk)
+void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
+                             const u8 *pcol, const u8 *pmsk)
 {
        int i, j, count, pitch, offset;
        u8 color, mask, opr;
index edfa6a8202cd7ec8ca77d22ce130a7b278e9bee7..cbb896a35160e6979b624def26e4eb98d8d178d4 100644 (file)
@@ -8,8 +8,8 @@ void sm750_hw_cursor_disable(struct lynx_cursor *cursor);
 void sm750_hw_cursor_set_size(struct lynx_cursor *cursor, int w, int h);
 void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y);
 void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg);
-void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,
-                            const u8 *data, const u8 *mask);
+void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
+                             const u8 *data, const u8 *mask);
 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop,
                              const u8 *data, const u8 *mask);
 #endif