diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-06-30 04:38:54 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-07 02:46:06 +0400 |
commit | 464c94514c703bc61c3f85db397582aa8f17cf9d (patch) | |
tree | 3588dba0ea7213040fa8ec99e2d55e13c3588faf /crypto/algapi.c | |
parent | b48ad330d56a6cce7897132d9cb68cc2f19358e8 (diff) | |
download | linux-464c94514c703bc61c3f85db397582aa8f17cf9d.tar.xz |
staging: comedi: ni_670x: return '0' for successful attach
The comedi core expects a < 0 value during the attach to indicate
an error. The normal 'success' return for the kernel is '0' so use
that here.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions