Skip to content

Commit c1e36b0

Browse files
Eric Floringregkh
authored andcommitted
staging: sm750fb: rename sm750_hw_cursor_setSize
Rename sm750_hw_cursor_setSize to sm750_hw_cursor_set_size to conform to kernel style guidelines as reported by checkpatch.pl CHECK: Avoid CamelCase: <sm750_hw_cursor_setSize> Signed-off-by: Eric Florin <[email protected]> Link: https://lore.kernel.org/r/c465a42743c4fef0853ffa7f7c304dc569592d3e.1745982772.git.ericflorin.kernel@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 31c2d32 commit c1e36b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/staging/sm750fb/sm750.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static int lynxfb_ops_cursor(struct fb_info *info, struct fb_cursor *fbcursor)
120120

121121
sm750_hw_cursor_disable(cursor);
122122
if (fbcursor->set & FB_CUR_SETSIZE)
123-
sm750_hw_cursor_setSize(cursor,
123+
sm750_hw_cursor_set_size(cursor,
124124
fbcursor->image.width,
125125
fbcursor->image.height);
126126

drivers/staging/sm750fb/sm750_cursor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void sm750_hw_cursor_disable(struct lynx_cursor *cursor)
5757
poke32(HWC_ADDRESS, 0);
5858
}
5959

60-
void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h)
60+
void sm750_hw_cursor_set_size(struct lynx_cursor *cursor, int w, int h)
6161
{
6262
cursor->w = w;
6363
cursor->h = h;

drivers/staging/sm750fb/sm750_cursor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/* hw_cursor_xxx works for voyager,718 and 750 */
66
void sm750_hw_cursor_enable(struct lynx_cursor *cursor);
77
void sm750_hw_cursor_disable(struct lynx_cursor *cursor);
8-
void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h);
8+
void sm750_hw_cursor_set_size(struct lynx_cursor *cursor, int w, int h);
99
void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y);
1010
void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg);
1111
void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,

0 commit comments

Comments
 (0)