staging: comedi: adl_pci9111: use comedi_handle_events()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 18 Sep 2014 18:11:14 +0000 (11:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:20 +0000 (10:29 +0800)
cfc_handle_events() is just a wrapper around comedi_handle_events().

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/adl_pci9111.c

index d18d8f21af2341898696f74dea8f2b7602182e37..076866e121a0dee29bdf1ef68ddd17e476d19926 100644 (file)
@@ -561,7 +561,7 @@ static irqreturn_t pci9111_interrupt(int irq, void *p_device)
                        dev_dbg(dev->class_dev, "fifo overflow\n");
                        outb(0, dev->iobase + PCI9111_INT_CLR_REG);
                        async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
-                       cfc_handle_events(dev, s);
+                       comedi_handle_events(dev, s);
 
                        return IRQ_HANDLED;
                }
@@ -578,7 +578,7 @@ static irqreturn_t pci9111_interrupt(int irq, void *p_device)
 
        spin_unlock_irqrestore(&dev->spinlock, irq_flags);
 
-       cfc_handle_events(dev, s);
+       comedi_handle_events(dev, s);
 
        return IRQ_HANDLED;
 }