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

staging: comedi: gsc_hpdi: rename hpdi_cancel()

For aesthetics, rename this function so it has namespace associated
with the driver.
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 6b0cca01
...@@ -354,7 +354,8 @@ static void abort_dma(struct comedi_device *dev, unsigned int channel) ...@@ -354,7 +354,8 @@ static void abort_dma(struct comedi_device *dev, unsigned int channel)
spin_unlock_irqrestore(&dev->spinlock, flags); spin_unlock_irqrestore(&dev->spinlock, flags);
} }
static int hpdi_cancel(struct comedi_device *dev, struct comedi_subdevice *s) static int gsc_hpdi_cancel(struct comedi_device *dev,
struct comedi_subdevice *s)
{ {
struct hpdi_private *devpriv = dev->private; struct hpdi_private *devpriv = dev->private;
...@@ -729,7 +730,7 @@ static int hpdi_auto_attach(struct comedi_device *dev, ...@@ -729,7 +730,7 @@ static int hpdi_auto_attach(struct comedi_device *dev,
s->insn_config = gsc_hpdi_dio_insn_config; s->insn_config = gsc_hpdi_dio_insn_config;
s->do_cmd = gsc_hpdi_cmd; s->do_cmd = gsc_hpdi_cmd;
s->do_cmdtest = gsc_hpdi_cmd_test; s->do_cmdtest = gsc_hpdi_cmd_test;
s->cancel = hpdi_cancel; s->cancel = gsc_hpdi_cancel;
return init_hpdi(dev); return init_hpdi(dev);
} }
......
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