Staging: comedi: Fix 80-char line limit style issue in addi_apci_1500.c
authorConrad Meyer <cemeyer@uw.edu>
Sat, 8 Mar 2014 20:47:24 +0000 (15:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 01:33:07 +0000 (17:33 -0800)
Rename some very long functions in addi-data/hwdrv_apci1500.c.

Signed-off-by: Conrad Meyer <cse.cem@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci1500.c
drivers/staging/comedi/drivers/addi_apci_1500.c

index 054910511e9e222942a1828729df2f2108b3f267..2628ac44f109a346194ced255d8e9a8bde595a50 100644 (file)
@@ -1052,7 +1052,7 @@ static int apci1500_di_insn_bits(struct comedi_device *dev,
 
 /*
 +----------------------------------------------------------------------------+
-| Function   Name   : int i_APCI1500_ConfigDigitalOutputErrorInterrupt
+| Function   Name   : int i_apci1500_config_output
 |                      (struct comedi_device *dev,struct comedi_subdevice *s struct comedi_insn
 |                      *insn,unsigned int *data)                                  |
 |                                                                                   |
@@ -1078,10 +1078,9 @@ static int apci1500_di_insn_bits(struct comedi_device *dev,
 |                                                                               |
 +----------------------------------------------------------------------------+
 */
-static int i_APCI1500_ConfigDigitalOutputErrorInterrupt(struct comedi_device *dev,
-                                                       struct comedi_subdevice *s,
-                                                       struct comedi_insn *insn,
-                                                       unsigned int *data)
+static int i_acpi1500_config_output(struct comedi_device *dev,
+       struct comedi_subdevice *s, struct comedi_insn *insn,
+       unsigned int *data)
 {
        struct addi_private *devpriv = dev->private;
 
@@ -1879,7 +1878,7 @@ static int i_APCI1500_ConfigCounterTimerWatchdog(struct comedi_device *dev,
 
 /*
 +----------------------------------------------------------------------------+
-| Function   Name   : int i_APCI1500_StartStopTriggerTimerCounterWatchdog      |
+| Function   Name   : int i_apci1500_timer_watchdog
 |                              (struct comedi_device *dev,struct comedi_subdevice *s,
 |                         struct comedi_insn *insn,unsigned int *data);                  |
 +----------------------------------------------------------------------------+
@@ -1905,10 +1904,9 @@ static int i_APCI1500_ConfigCounterTimerWatchdog(struct comedi_device *dev,
 |                                                                               |
 +----------------------------------------------------------------------------+
 */
-static int i_APCI1500_StartStopTriggerTimerCounterWatchdog(struct comedi_device *dev,
-                                                          struct comedi_subdevice *s,
-                                                          struct comedi_insn *insn,
-                                                          unsigned int *data)
+static int i_apci1500_timer_watchdog(struct comedi_device *dev,
+       struct comedi_subdevice *s, struct comedi_insn *insn,
+       unsigned int *data)
 {
        struct addi_private *devpriv = dev->private;
        int i_CommandAndStatusValue;
index 74f7ace8adbcb693abb8c3394e2cbfcc9e5e2427..afa7d6e97a5b9f36a50abc7591ba8708396b7eba 100644 (file)
@@ -26,11 +26,11 @@ static const struct addi_board apci1500_boardtypes[] = {
                .di_read                = i_APCI1500_Initialisation,
                .di_write               = i_APCI1500_StartStopInputEvent,
                .di_bits                = apci1500_di_insn_bits,
-               .do_config              = i_APCI1500_ConfigDigitalOutputErrorInterrupt,
+               .do_config              = i_acpi1500_config_output,
                .do_write               = i_APCI1500_WriteDigitalOutput,
                .do_bits                = i_APCI1500_ConfigureInterrupt,
                .timer_config           = i_APCI1500_ConfigCounterTimerWatchdog,
-               .timer_write            = i_APCI1500_StartStopTriggerTimerCounterWatchdog,
+               .timer_write            = i_apci1500_timer_watchdog,
                .timer_read             = i_APCI1500_ReadInterruptMask,
                .timer_bits             = i_APCI1500_ReadCounterTimerWatchdog,
        },