staging: comedi: das800: use comedi_handle_events()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 18 Sep 2014 18:11:22 +0000 (11:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:21 +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/das800.c

index d75e5528258c48c38c139d6717bb2521ecc4ce29..e284d202b7e7ac1a53754305210de72dfc1c7e2b 100644 (file)
@@ -521,7 +521,7 @@ static irqreturn_t das800_interrupt(int irq, void *d)
        if (fifo_overflow) {
                spin_unlock_irqrestore(&dev->spinlock, irq_flags);
                async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
-               cfc_handle_events(dev, s);
+               comedi_handle_events(dev, s);
                return IRQ_HANDLED;
        }
 
@@ -537,7 +537,7 @@ static irqreturn_t das800_interrupt(int irq, void *d)
                das800_disable(dev);
                async->events |= COMEDI_CB_EOA;
        }
-       cfc_handle_events(dev, s);
+       comedi_handle_events(dev, s);
        return IRQ_HANDLED;
 }