staging: comedi: pcmuio: return 0 for successful attach
Returning 0 for success is more common. 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
b315773177
commit
ee81b210fe
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue