Skip to content

Commit dcb66f7

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

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

drivers/staging/sm750fb/sm750.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,8 @@ static int lynxfb_ops_cursor(struct fb_info *info, struct fb_cursor *fbcursor)
145145
}
146146

147147
if (fbcursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) {
148-
sm750_hw_cursor_setData(cursor,
149-
fbcursor->rop,
150-
fbcursor->image.data,
151-
fbcursor->mask);
148+
sm750_hw_cursor_set_data(cursor, fbcursor->rop, fbcursor->image.data,
149+
fbcursor->mask);
152150
}
153151

154152
if (fbcursor->enable)

drivers/staging/sm750fb/sm750_cursor.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg)
8181
poke32(HWC_COLOR_3, 0xffe0);
8282
}
8383

84-
void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,
85-
const u8 *pcol, const u8 *pmsk)
84+
void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
85+
const u8 *pcol, const u8 *pmsk)
8686
{
8787
int i, j, count, pitch, offset;
8888
u8 color, mask, opr;

drivers/staging/sm750fb/sm750_cursor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ void sm750_hw_cursor_disable(struct lynx_cursor *cursor);
88
void sm750_hw_cursor_set_size(struct lynx_cursor *cursor, int w, int h);
99
void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y);
1010
void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg);
11-
void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,
12-
const u8 *data, const u8 *mask);
11+
void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
12+
const u8 *data, const u8 *mask);
1313
void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop,
1414
const u8 *data, const u8 *mask);
1515
#endif

0 commit comments

Comments
 (0)