commit | fb780d213355868b69cc12142635aae5e0ee7c2a | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Feb 03 11:26:51 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 07 10:49:47 2014 -0800 |
tree | 5b81471d4cc9b93e6526e6b9d27bec194235a8e6 | |
parent | c93999c21319439c4fe2da85f2ec40ed477379ac [diff] |
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>