staging: comedi: adl_pci9118: rename Compute_and_setup_dma()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 9 Oct 2015 18:09:35 +0000 (11:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:58:35 +0000 (22:58 -0700)
Rename this CamelCase function.

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_pci9118.c

index 87746983783fe27c66e1651916d30cf264c0e27e..e5e0e1c4e50bc3728e979dd5955971b8a25d507a 100644 (file)
@@ -816,8 +816,8 @@ static int pci9118_ai_inttrig(struct comedi_device *dev,
        return 1;
 }
 
-static int Compute_and_setup_dma(struct comedi_device *dev,
-                                struct comedi_subdevice *s)
+static int pci9118_ai_setup_dma(struct comedi_device *dev,
+                               struct comedi_subdevice *s)
 {
        struct pci9118_private *devpriv = dev->private;
        struct comedi_cmd *cmd = &s->async->cmd;
@@ -1141,7 +1141,7 @@ static int pci9118_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
        devpriv->ai_act_dmapos = 0;
 
        if (devpriv->usedma) {
-               Compute_and_setup_dma(dev, s);
+               pci9118_ai_setup_dma(dev, s);
 
                outl(0x02000000 | AINT_WRITE_COMPL,
                     devpriv->iobase_a + AMCC_OP_REG_INTCSR);