commit | 464c94514c703bc61c3f85db397582aa8f17cf9d | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Fri Jun 29 17:38:54 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 06 15:46:06 2012 -0700 |
tree | 3588dba0ea7213040fa8ec99e2d55e13c3588faf | |
parent | b48ad330d56a6cce7897132d9cb68cc2f19358e8 [diff] |
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>