staging: comedi: adl_pci9111: rename CamelCase parameters
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 12 Oct 2015 17:42:31 +0000 (10:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:23:58 +0000 (10:23 -0700)
Rename the CamelCase parameters of plx9050_interrupt_control().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9111.c

index e6f6e59cf579ba92181e69091cd9e0a1ddf91c83..4996c24b8d2ad9a7bce33d2f6b59e0eac0407377 100644 (file)
@@ -124,21 +124,21 @@ struct pci9111_private_data {
 };
 
 static void plx9050_interrupt_control(unsigned long io_base,
-                                     bool LINTi1_enable,
-                                     bool LINTi1_active_high,
-                                     bool LINTi2_enable,
-                                     bool LINTi2_active_high,
+                                     bool int1_enable,
+                                     bool int1_active_high,
+                                     bool int2_enable,
+                                     bool int2_active_high,
                                      bool interrupt_enable)
 {
        int flags = 0;
 
-       if (LINTi1_enable)
+       if (int1_enable)
                flags |= PLX9052_INTCSR_LI1ENAB;
-       if (LINTi1_active_high)
+       if (int1_active_high)
                flags |= PLX9052_INTCSR_LI1POL;
-       if (LINTi2_enable)
+       if (int2_enable)
                flags |= PLX9052_INTCSR_LI2ENAB;
-       if (LINTi2_active_high)
+       if (int2_active_high)
                flags |= PLX9052_INTCSR_LI2POL;
 
        if (interrupt_enable)