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

CHECK: Avoid CamelCase: <sm750_hw_cursor_setData2>

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

index 3aa26ef0001120768e302e58e7be1aec39c35a33..7ede144905c9239b041f31befc71f4cc99681a8e 100644 (file)
@@ -131,8 +131,8 @@ void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
        }
 }
 
-void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop,
-                             const u8 *pcol, const u8 *pmsk)
+void sm750_hw_cursor_set_data2(struct lynx_cursor *cursor, u16 rop,
+                              const u8 *pcol, const u8 *pmsk)
 {
        int i, j, count, pitch, offset;
        u8 color, mask;
index cbb896a35160e6979b624def26e4eb98d8d178d4..88fa02f6377a4250e1c4f112eda8e1da41f97b2b 100644 (file)
@@ -10,6 +10,6 @@ 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_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);
+void sm750_hw_cursor_set_data2(struct lynx_cursor *cursor, u16 rop,
+                              const u8 *data, const u8 *mask);
 #endif