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

staging: comedi: gsc_hpdi: rename handle_interrupt()

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 9cbf6697
...@@ -268,7 +268,7 @@ static void drain_dma_buffers(struct comedi_device *dev, unsigned int channel) ...@@ -268,7 +268,7 @@ static void drain_dma_buffers(struct comedi_device *dev, unsigned int channel)
/* XXX check for buffer overrun somehow */ /* XXX check for buffer overrun somehow */
} }
static irqreturn_t handle_interrupt(int irq, void *d) static irqreturn_t gsc_hpdi_interrupt(int irq, void *d)
{ {
struct comedi_device *dev = d; struct comedi_device *dev = d;
struct hpdi_private *devpriv = dev->private; struct hpdi_private *devpriv = dev->private;
...@@ -680,7 +680,7 @@ static int hpdi_auto_attach(struct comedi_device *dev, ...@@ -680,7 +680,7 @@ static int hpdi_auto_attach(struct comedi_device *dev,
init_plx9080(dev); init_plx9080(dev);
/* get irq */ /* get irq */
if (request_irq(pcidev->irq, handle_interrupt, IRQF_SHARED, if (request_irq(pcidev->irq, gsc_hpdi_interrupt, IRQF_SHARED,
dev->board_name, dev)) { dev->board_name, dev)) {
dev_warn(dev->class_dev, dev_warn(dev->class_dev,
"unable to allocate irq %u\n", pcidev->irq); "unable to allocate irq %u\n", pcidev->irq);
......
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