Skip to content

Commit 8f168c8

Browse files
Eric Floringregkh
authored andcommitted
staging: sm750fb: rename sm750_hw_cursor_setPos
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 <[email protected]> Link: https://lore.kernel.org/r/bf20fba915d2f0139a55ada29fcdefb9fdcbc1d6.1745982772.git.ericflorin.kernel@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c1e36b0 commit 8f168c8

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
@@ -125,7 +125,7 @@ static int lynxfb_ops_cursor(struct fb_info *info, struct fb_cursor *fbcursor)
125125
fbcursor->image.height);
126126

127127
if (fbcursor->set & FB_CUR_SETPOS)
128-
sm750_hw_cursor_setPos(cursor,
128+
sm750_hw_cursor_set_pos(cursor,
129129
fbcursor->image.dx - info->var.xoffset,
130130
fbcursor->image.dy - info->var.yoffset);
131131

drivers/staging/sm750fb/sm750_cursor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void sm750_hw_cursor_set_size(struct lynx_cursor *cursor, int w, int h)
6363
cursor->h = h;
6464
}
6565

66-
void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y)
66+
void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y)
6767
{
6868
u32 reg;
6969

drivers/staging/sm750fb/sm750_cursor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
void sm750_hw_cursor_enable(struct lynx_cursor *cursor);
77
void sm750_hw_cursor_disable(struct lynx_cursor *cursor);
88
void sm750_hw_cursor_set_size(struct lynx_cursor *cursor, int w, int h);
9-
void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y);
9+
void sm750_hw_cursor_set_pos(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,
1212
const u8 *data, const u8 *mask);

0 commit comments

Comments
 (0)