Commit aa0cf376 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: mpc624: rename mpc624_ai_rinsn()

For aesthetics, rename this function to follow the normal convention
in comedi drivers.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4b7b3d04
...@@ -128,9 +128,10 @@ static int mpc624_ai_eoc(struct comedi_device *dev, ...@@ -128,9 +128,10 @@ static int mpc624_ai_eoc(struct comedi_device *dev,
return -EBUSY; return -EBUSY;
} }
static int mpc624_ai_rinsn(struct comedi_device *dev, static int mpc624_ai_insn_read(struct comedi_device *dev,
struct comedi_subdevice *s, struct comedi_insn *insn, struct comedi_subdevice *s,
unsigned int *data) struct comedi_insn *insn,
unsigned int *data)
{ {
struct mpc624_private *devpriv = dev->private; struct mpc624_private *devpriv = dev->private;
int n, i; int n, i;
...@@ -307,7 +308,7 @@ static int mpc624_attach(struct comedi_device *dev, struct comedi_devconfig *it) ...@@ -307,7 +308,7 @@ static int mpc624_attach(struct comedi_device *dev, struct comedi_devconfig *it)
s->maxdata = 0x3fffffff; s->maxdata = 0x3fffffff;
s->range_table = (it->options[1] == 0) ? &range_mpc624_bipolar1 s->range_table = (it->options[1] == 0) ? &range_mpc624_bipolar1
: &range_mpc624_bipolar10; : &range_mpc624_bipolar10;
s->insn_read = mpc624_ai_rinsn; s->insn_read = mpc624_ai_insn_read;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment