]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: sm750fb: rename `hw_sm750_deWait`
authorEric Florin <ericflorin@google.com>
Mon, 19 May 2025 02:04:45 +0000 (19:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 11:48:22 +0000 (13:48 +0200)
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 <ericflorin@google.com>
Link: https://lore.kernel.org/r/2d94a42ca51de9fddddb64f74e217dfb2e0c7d1c.1747619816.git.ericflorin@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c
drivers/staging/sm750fb/sm750.h
drivers/staging/sm750fb/sm750_hw.c

index d74836fbdfa30157338f6f6962782afc77b6cb59..6a6b48254af895bd3d413ebdd61214e384f90442 100644 (file)
@@ -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;
index a797985a4df75978ab7dfcecabf225df38f975c7..e24ec6a9799e9f42dfdfebb151bf9c3ba1240c74 100644 (file)
@@ -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,
index a5bb067b30cc5b9945e40b89c8116255e5379ab6..5a6ee02bb95ff9a74cc837bd91005272e68895c0 100644 (file)
@@ -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 |