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

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

staging: comedi: pcmuio: return 0 for successful attach



Returning 0 for success is more common.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b3157731
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -672,7 +672,7 @@ static int pcmuio_attach(struct comedi_device *dev, struct comedi_devconfig *it)
		devpriv->asics[asic].irq = irq[asic];
	}

	return 1;
	return 0;
}

static void pcmuio_detach(struct comedi_device *dev)