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

staging: comedi: adl_pci9118: rename interrupt_*() functions

For aesthetics, rename these functions so it they 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 5c912f1f
......@@ -614,8 +614,8 @@ static void pci9118_ai_munge(struct comedi_device *dev,
}
}
static void interrupt_pci9118_ai_onesample(struct comedi_device *dev,
struct comedi_subdevice *s)
static void pci9118_ai_get_onesample(struct comedi_device *dev,
struct comedi_subdevice *s)
{
struct pci9118_private *devpriv = dev->private;
struct comedi_cmd *cmd = &s->async->cmd;
......@@ -631,8 +631,8 @@ static void interrupt_pci9118_ai_onesample(struct comedi_device *dev,
}
}
static void interrupt_pci9118_ai_dma(struct comedi_device *dev,
struct comedi_subdevice *s)
static void pci9118_ai_get_dma(struct comedi_device *dev,
struct comedi_subdevice *s)
{
struct pci9118_private *devpriv = dev->private;
struct comedi_cmd *cmd = &s->async->cmd;
......@@ -757,9 +757,9 @@ static irqreturn_t pci9118_interrupt(int irq, void *d)
}
if (devpriv->usedma)
interrupt_pci9118_ai_dma(dev, s);
pci9118_ai_get_dma(dev, s);
else
interrupt_pci9118_ai_onesample(dev, s);
pci9118_ai_get_onesample(dev, s);
interrupt_exit:
comedi_handle_events(dev, s);
......
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