staging: comedi: gsc_hpdi: rename handle_interrupt()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 13 Mar 2014 21:16:18 +0000 (14:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:19:49 +0000 (14:19 -0700)
For aesthetics, rename this function so it has namespace associated
with the driver.

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>
drivers/staging/comedi/drivers/gsc_hpdi.c

index f4cfac0e445ffaf5377378c030ce3a257a0a56b5..f1af16abf8704d97aaa37cb2044dfd94da78d4a3 100644 (file)
@@ -268,7 +268,7 @@ static void drain_dma_buffers(struct comedi_device *dev, unsigned int channel)
        /*  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 hpdi_private *devpriv = dev->private;
@@ -680,7 +680,7 @@ static int hpdi_auto_attach(struct comedi_device *dev,
        init_plx9080(dev);
 
        /*  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_warn(dev->class_dev,
                         "unable to allocate irq %u\n", pcidev->irq);