diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-03 22:26:51 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 22:49:47 +0400 |
| commit | fb780d213355868b69cc12142635aae5e0ee7c2a (patch) | |
| tree | 5b81471d4cc9b93e6526e6b9d27bec194235a8e6 /scripts | |
| parent | c93999c21319439c4fe2da85f2ec40ed477379ac (diff) | |
| download | linux-fb780d213355868b69cc12142635aae5e0ee7c2a.tar.xz | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
