mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
staging: comedi: mpc624: rename mpc624_ai_rinsn()
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>
This commit is contained in:
parent
4b7b3d04f4
commit
aa0cf376b9
1 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue