From: H Hartley Sweeten Date: Tue, 6 Oct 2015 00:33:31 +0000 (-0700) Subject: staging: comedi: mpc624: rename mpc624_ai_rinsn() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa0cf376b9dc3b09af0f40ce7ace76e3d45c33a9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/mpc624.c b/drivers/staging/comedi/drivers/mpc624.c index 0527d3e18623..0e8976045bff 100644 --- a/drivers/staging/comedi/drivers/mpc624.c +++ b/drivers/staging/comedi/drivers/mpc624.c @@ -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; }