staging: comedi: adv_pci1710: rename interrupt_service_pci1710()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 13 Nov 2015 18:11:13 +0000 (11:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:56:30 +0000 (14:56 -0800)
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/adv_pci1710.c

index 76371e03aec5b23e5c3927b0bb63f53b4830677f..3c660ee2ae8937a61b2512645316032d226a531a 100644 (file)
@@ -513,7 +513,7 @@ static void pci1710_handle_fifo(struct comedi_device *dev,
        outb(0, dev->iobase + PCI171X_CLRINT_REG);
 }
 
-static irqreturn_t interrupt_service_pci1710(int irq, void *d)
+static irqreturn_t pci1710_irq_handler(int irq, void *d)
 {
        struct comedi_device *dev = d;
        struct pci1710_private *devpriv = dev->private;
@@ -779,7 +779,7 @@ static int pci1710_auto_attach(struct comedi_device *dev,
        pci1710_reset(dev);
 
        if (pcidev->irq) {
-               ret = request_irq(pcidev->irq, interrupt_service_pci1710,
+               ret = request_irq(pcidev->irq, pci1710_irq_handler,
                                  IRQF_SHARED, dev->board_name, dev);
                if (ret == 0)
                        dev->irq = pcidev->irq;