Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf00515e authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: multiq3: board does not use interrupts



This driver does not use interruptes. Don't bother parsing the
configuration option from "comedi_config".

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35626c2e
Loading
Loading
Loading
Loading
+0 −11
Original line number Original line Diff line number Diff line
@@ -224,7 +224,6 @@ static void encoder_reset(struct comedi_device *dev)


/*
/*
   options[0] - I/O port
   options[0] - I/O port
   options[1] - irq
   options[2] - number of encoder chips installed
   options[2] - number of encoder chips installed
 */
 */


@@ -234,7 +233,6 @@ static int multiq3_attach(struct comedi_device *dev,
	struct multiq3_private *devpriv;
	struct multiq3_private *devpriv;
	int result = 0;
	int result = 0;
	unsigned long iobase;
	unsigned long iobase;
	unsigned int irq;
	struct comedi_subdevice *s;
	struct comedi_subdevice *s;


	iobase = it->options[0];
	iobase = it->options[0];
@@ -246,13 +244,6 @@ static int multiq3_attach(struct comedi_device *dev,


	dev->iobase = iobase;
	dev->iobase = iobase;


	irq = it->options[1];
	if (irq)
		printk(KERN_WARNING "comedi%d: irq = %u ignored\n",
			dev->minor, irq);
	else
		printk(KERN_WARNING "comedi%d: no irq\n", dev->minor);

	result = comedi_alloc_subdevices(dev, 5);
	result = comedi_alloc_subdevices(dev, 5);
	if (result)
	if (result)
		return result;
		return result;
@@ -318,8 +309,6 @@ static void multiq3_detach(struct comedi_device *dev)
{
{
	if (dev->iobase)
	if (dev->iobase)
		release_region(dev->iobase, MULTIQ3_SIZE);
		release_region(dev->iobase, MULTIQ3_SIZE);
	if (dev->irq)
		free_irq(dev->irq, dev);
}
}


static struct comedi_driver multiq3_driver = {
static struct comedi_driver multiq3_driver = {