Skip to content

Commit f2cf2a3

Browse files
Eric Floringregkh
authored andcommitted
staging: sm750fb: rename hw_sm750_setBLANK
Rename `hw_sm750_setBLANK` to `hw_sm750_set_blank` to conform with kernel style guidelines as reported by checkpatch.pl CHECK: Avoid CamelCase: <hw_sm750_setBLANK> Signed-off-by: Eric Florin <[email protected]> Link: https://lore.kernel.org/r/e00a39ffba89e000fdf8dc277166297d995aa891.1747619816.git.ericflorin@google.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f3147ce commit f2cf2a3

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
@@ -606,7 +606,7 @@ static int sm750fb_set_drv(struct lynxfb_par *par)
606606
crtc->ywrapstep = 0;
607607

608608
output->proc_setBLANK = (sm750_dev->revid == SM750LE_REVISION_ID) ?
609-
hw_sm750le_setBLANK : hw_sm750_setBLANK;
609+
hw_sm750le_setBLANK : hw_sm750_set_blank;
610610
/* chip specific phase */
611611
sm750_dev->accel.de_wait = (sm750_dev->revid == SM750LE_REVISION_ID) ?
612612
hw_sm750le_de_wait : hw_sm750_de_wait;

drivers/staging/sm750fb/sm750.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ int hw_sm750_crtc_set_mode(struct lynxfb_crtc *crtc,
211211
int hw_sm750_set_col_reg(struct lynxfb_crtc *crtc, ushort index,
212212
ushort red, ushort green, ushort blue);
213213

214-
int hw_sm750_setBLANK(struct lynxfb_output *output, int blank);
214+
int hw_sm750_set_blank(struct lynxfb_output *output, int blank);
215215
int hw_sm750le_setBLANK(struct lynxfb_output *output, int blank);
216216
int hw_sm750_pan_display(struct lynxfb_crtc *crtc,
217217
const struct fb_var_screeninfo *var,

drivers/staging/sm750fb/sm750_hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ int hw_sm750le_setBLANK(struct lynxfb_output *output, int blank)
421421
return 0;
422422
}
423423

424-
int hw_sm750_setBLANK(struct lynxfb_output *output, int blank)
424+
int hw_sm750_set_blank(struct lynxfb_output *output, int blank)
425425
{
426426
unsigned int dpms, pps, crtdb;
427427

0 commit comments

Comments
 (0)