]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: sm750fb: rename `hw_sm750_initAccel`
authorEric Florin <ericflorin@google.com>
Mon, 19 May 2025 02:04:44 +0000 (19:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 11:48:22 +0000 (13:48 +0200)
Rename `hw_sm750_initAccel` to `hw_sm750_init_accel` to conform with
kernel style guidelines as reported by checkpatch.pl

CHECK: Avoid CamelCase: <hw_sm750_initAccel>

Signed-off-by: Eric Florin <ericflorin@google.com>
Link: https://lore.kernel.org/r/3c84dccaf38161d6de6ff560d4f10bb3d344cc51.1747619816.git.ericflorin@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.h
drivers/staging/sm750fb/sm750_hw.c

index aff69661c8e627353c567449ade429f324e6671a..a797985a4df75978ab7dfcecabf225df38f975c7 100644 (file)
@@ -193,7 +193,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_initAccel(struct sm750_dev *sm750_dev);
+void hw_sm750_init_accel(struct sm750_dev *sm750_dev);
 int hw_sm750_deWait(void);
 int hw_sm750le_deWait(void);
 
index 64b199061d14a74371996946877f933a76bcadae..a5bb067b30cc5b9945e40b89c8116255e5379ab6 100644 (file)
@@ -173,7 +173,7 @@ int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev)
 
        /* init 2d engine */
        if (!sm750_dev->accel_off)
-               hw_sm750_initAccel(sm750_dev);
+               hw_sm750_init_accel(sm750_dev);
 
        return 0;
 }
@@ -474,7 +474,7 @@ int hw_sm750_setBLANK(struct lynxfb_output *output, int blank)
        return 0;
 }
 
-void hw_sm750_initAccel(struct sm750_dev *sm750_dev)
+void hw_sm750_init_accel(struct sm750_dev *sm750_dev)
 {
        u32 reg;