Commit 1e8990b2 authored by Eric Florin's avatar Eric Florin Committed by Greg Kroah-Hartman
Browse files

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: default avatarEric Florin <ericflorin@google.com>
Link: https://lore.kernel.org/r/2d94a42ca51de9fddddb64f74e217dfb2e0c7d1c.1747619816.git.ericflorin@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 70fbc289
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -609,7 +609,7 @@ static int sm750fb_set_drv(struct lynxfb_par *par)
				 hw_sm750le_setBLANK : hw_sm750_setBLANK;
	/* chip specific phase */
	sm750_dev->accel.de_wait = (sm750_dev->revid == SM750LE_REVISION_ID) ?
				    hw_sm750le_deWait : hw_sm750_deWait;
				    hw_sm750le_deWait : hw_sm750_de_wait;
	switch (sm750_dev->dataflow) {
	case sm750_simul_pri:
		output->paths = sm750_pnc;
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ static inline unsigned long ps_to_hz(unsigned int psvalue)
int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
void hw_sm750_init_accel(struct sm750_dev *sm750_dev);
int hw_sm750_deWait(void);
int hw_sm750_de_wait(void);
int hw_sm750le_deWait(void);

int hw_sm750_output_setMode(struct lynxfb_output *output,
+1 −1
Original line number Diff line number Diff line
@@ -521,7 +521,7 @@ int hw_sm750le_deWait(void)
	return -1;
}

int hw_sm750_deWait(void)
int hw_sm750_de_wait(void)
{
	int i = 0x10000000;
	unsigned int mask = SYSTEM_CTRL_DE_STATUS_BUSY |