staging: comedi: mpc624: rename mpc624_ai_rinsn()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 6 Oct 2015 00:33:31 +0000 (17:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 04:24:11 +0000 (21:24 -0700)
For aesthetics, rename this function to follow the normal convention
in comedi drivers.

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/mpc624.c

index 0527d3e186236d56bea39aa020b5aad37bd394b1..0e8976045bff47858f076939560f73c955d432f5 100644 (file)
@@ -128,9 +128,10 @@ static int mpc624_ai_eoc(struct comedi_device *dev,
        return -EBUSY;
 }
 
-static int mpc624_ai_rinsn(struct comedi_device *dev,
-                          struct comedi_subdevice *s, struct comedi_insn *insn,
-                          unsigned int *data)
+static int mpc624_ai_insn_read(struct comedi_device *dev,
+                              struct comedi_subdevice *s,
+                              struct comedi_insn *insn,
+                              unsigned int *data)
 {
        struct mpc624_private *devpriv = dev->private;
        int n, i;
@@ -307,7 +308,7 @@ static int mpc624_attach(struct comedi_device *dev, struct comedi_devconfig *it)
        s->maxdata      = 0x3fffffff;
        s->range_table  = (it->options[1] == 0) ? &range_mpc624_bipolar1
                                                : &range_mpc624_bipolar10;
-       s->insn_read    = mpc624_ai_rinsn;
+       s->insn_read    = mpc624_ai_insn_read;
 
        return 0;
 }