]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: sm750fb: rename sm750_hw_cursor_setPos
authorEric Florin <ericflorin.kernel@gmail.com>
Wed, 30 Apr 2025 05:55:36 +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_setPos to sm750_hw_cursor_set_pos to conform with
kernel style guidelines as reported by checkpatch.pl

CHECK: Avoid CamelCase: <sm750_hw_cursor_setPos>

Signed-off-by: Eric Florin <ericflorin.kernel@gmail.com>
Link: https://lore.kernel.org/r/bf20fba915d2f0139a55ada29fcdefb9fdcbc1d6.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 47c84331e3d9f2e9e6cffcae464a1ab85aebd765..8dd32aa6ac6e519ff0237a7448c2ebc64fa2af05 100644 (file)
@@ -125,7 +125,7 @@ static int lynxfb_ops_cursor(struct fb_info *info, struct fb_cursor *fbcursor)
                                        fbcursor->image.height);
 
        if (fbcursor->set & FB_CUR_SETPOS)
-               sm750_hw_cursor_setPos(cursor,
+               sm750_hw_cursor_set_pos(cursor,
                                       fbcursor->image.dx - info->var.xoffset,
                                       fbcursor->image.dy - info->var.yoffset);
 
index 3128ff3f4b706703c3b3a38a625bf565b184e51c..a6fe241e7748aa0a04e780439917ea908ebbc7e2 100644 (file)
@@ -63,7 +63,7 @@ void sm750_hw_cursor_set_size(struct lynx_cursor *cursor, int w, int h)
        cursor->h = h;
 }
 
-void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y)
+void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y)
 {
        u32 reg;
 
index edeed2ea4b0430b10b379ecf85538d3a6800f772..d0ade8e366f40c892fde40dbb9542cb6413b8b28 100644 (file)
@@ -6,7 +6,7 @@
 void sm750_hw_cursor_enable(struct lynx_cursor *cursor);
 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_setPos(struct lynx_cursor *cursor, int x, int y);
+void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y);
 void sm750_hw_cursor_setColor(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);