Commit 17164504 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: pcmda12: return 0 for successful attach

Return 0 instead of 1 to indicate a successful attach.
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 7af94fe3
...@@ -159,7 +159,7 @@ static int pcmda12_attach(struct comedi_device *dev, ...@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment