Skip to content

Commit 1e8990b

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

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
@@ -609,7 +609,7 @@ static int sm750fb_set_drv(struct lynxfb_par *par)
609609
hw_sm750le_setBLANK : hw_sm750_setBLANK;
610610
/* chip specific phase */
611611
sm750_dev->accel.de_wait = (sm750_dev->revid == SM750LE_REVISION_ID) ?
612-
hw_sm750le_deWait : hw_sm750_deWait;
612+
hw_sm750le_deWait : hw_sm750_de_wait;
613613
switch (sm750_dev->dataflow) {
614614
case sm750_simul_pri:
615615
output->paths = sm750_pnc;

drivers/staging/sm750fb/sm750.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static inline unsigned long ps_to_hz(unsigned int psvalue)
194194
int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
195195
int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
196196
void hw_sm750_init_accel(struct sm750_dev *sm750_dev);
197-
int hw_sm750_deWait(void);
197+
int hw_sm750_de_wait(void);
198198
int hw_sm750le_deWait(void);
199199

200200
int hw_sm750_output_setMode(struct lynxfb_output *output,

drivers/staging/sm750fb/sm750_hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ int hw_sm750le_deWait(void)
521521
return -1;
522522
}
523523

524-
int hw_sm750_deWait(void)
524+
int hw_sm750_de_wait(void)
525525
{
526526
int i = 0x10000000;
527527
unsigned int mask = SYSTEM_CTRL_DE_STATUS_BUSY |

0 commit comments

Comments
 (0)