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:
Родитель
b315773177
Коммит
ee81b210fe
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче