diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-06-18 13:26:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-24 15:51:05 -0700 |
commit | ee81b210fe9f761a3d34f6c061c67e6313df06bc (patch) | |
tree | 651dc35d9ab6cb7f40a649d078934949529b9586 /drivers/staging/comedi | |
parent | b315773177ae6ed2b2e6721c3f1c44a576bda1af (diff) | |
download | linux-ee81b210fe9f761a3d34f6c061c67e6313df06bc.tar.gz linux-ee81b210fe9f761a3d34f6c061c67e6313df06bc.tar.bz2 linux-ee81b210fe9f761a3d34f6c061c67e6313df06bc.zip |
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>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r-- | drivers/staging/comedi/drivers/pcmuio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/pcmuio.c b/drivers/staging/comedi/drivers/pcmuio.c index 46def3b402da..bc969d24d1a3 100644 --- a/drivers/staging/comedi/drivers/pcmuio.c +++ b/drivers/staging/comedi/drivers/pcmuio.c @@ -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) |