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:
parent
7af94fe3cd
commit
171645048b
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ static int pcmda12_attach(struct comedi_device *dev,
|
||||||
|
|
||||||
pcmda12_ao_reset(dev, s);
|
pcmda12_ao_reset(dev, s);
|
||||||
|
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct comedi_driver pcmda12_driver = {
|
static struct comedi_driver pcmda12_driver = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue