staging: comedi: pcmda12: return 0 for successful attach

Return 0 instead of 1 to indicate a successful attach.

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>
This commit is contained in:
H Hartley Sweeten 2013-06-03 19:06:21 -07:00 committed by Greg Kroah-Hartman
parent 7af94fe3cd
commit 171645048b

View File

@ -159,7 +159,7 @@ static int pcmda12_attach(struct comedi_device *dev,
pcmda12_ao_reset(dev, s);
return 1;
return 0;
}
static struct comedi_driver pcmda12_driver = {