This driver does not use interrupts and the dev->irq variable is
already set to '0' when then (*attach) function is called. Setting
it in the driver is unnecessary.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/comedi/drivers/acl7225b.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/comedi/drivers/acl7225b.c 
b/drivers/staging/comedi/drivers/acl7225b.c
index adbe580..132e268 100644
--- a/drivers/staging/comedi/drivers/acl7225b.c
+++ b/drivers/staging/comedi/drivers/acl7225b.c
@@ -76,7 +76,6 @@ static int acl7225b_attach(struct comedi_device *dev,
        if (!request_region(iobase, board->io_range, dev->board_name))
                return -EIO;
        dev->iobase = iobase;
-       dev->irq = 0;
 
        ret = comedi_alloc_subdevices(dev, 3);
        if (ret)
-- 
1.8.1.4

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to