mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 05:17:15 +02:00
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
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user