staging: comedi: drivers: return '0' for successful attach
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 3 Feb 2014 18:26:51 +0000 (11:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:49:47 +0000 (10:49 -0800)
commitfb780d213355868b69cc12142635aae5e0ee7c2a
tree5b81471d4cc9b93e6526e6b9d27bec194235a8e6
parentc93999c21319439c4fe2da85f2ec40ed477379ac
staging: comedi: drivers: return '0' for successful attach

The comedi core expects the driver attach functions to return a
negative errno for failure. Any other value indicates success.

For consistency in the drivers, make sure they all return '0' to
indicate success.

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>
drivers/staging/comedi/drivers/aio_iiro_16.c
drivers/staging/comedi/drivers/fl512.c
drivers/staging/comedi/drivers/jr3_pci.c
drivers/staging/comedi/drivers/mpc624.c
drivers/staging/comedi/drivers/ni_pcimio.c
drivers/staging/comedi/drivers/s526.c