Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: sm750fb: rename `hw_sm750le_setBLANK`

Rename `hw_sm750le_setBLANK` to `hw_sm750le_set_blank` to conform with
kernel style guidelines as reported by checkpatch.pl

CHECK: Avoid CamelCase: <hw_sm750le_setBLANK>

Signed-off-by: Eric Florin <ericflorin@google.com>
Link: https://lore.kernel.org/r/b49d1a00628a3475fdfbff4055d8347d35a802a9.1747619816.git.ericflorin@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Eric Florin and committed by
Greg Kroah-Hartman
d2f8d185 f2cf2a38

+3 -3
+1 -1
drivers/staging/sm750fb/sm750.c
··· 606 606 crtc->ywrapstep = 0; 607 607 608 608 output->proc_setBLANK = (sm750_dev->revid == SM750LE_REVISION_ID) ? 609 - hw_sm750le_setBLANK : hw_sm750_set_blank; 609 + hw_sm750le_set_blank : hw_sm750_set_blank; 610 610 /* chip specific phase */ 611 611 sm750_dev->accel.de_wait = (sm750_dev->revid == SM750LE_REVISION_ID) ? 612 612 hw_sm750le_de_wait : hw_sm750_de_wait;
+1 -1
drivers/staging/sm750fb/sm750.h
··· 212 212 ushort red, ushort green, ushort blue); 213 213 214 214 int hw_sm750_set_blank(struct lynxfb_output *output, int blank); 215 - int hw_sm750le_setBLANK(struct lynxfb_output *output, int blank); 215 + int hw_sm750le_set_blank(struct lynxfb_output *output, int blank); 216 216 int hw_sm750_pan_display(struct lynxfb_crtc *crtc, 217 217 const struct fb_var_screeninfo *var, 218 218 const struct fb_info *info);
+1 -1
drivers/staging/sm750fb/sm750_hw.c
··· 380 380 return 0; 381 381 } 382 382 383 - int hw_sm750le_setBLANK(struct lynxfb_output *output, int blank) 383 + int hw_sm750le_set_blank(struct lynxfb_output *output, int blank) 384 384 { 385 385 int dpms, crtdb; 386 386