diff options
| author | 2012-06-25 17:16:04 -0700 | |
|---|---|---|
| committer | 2012-06-26 15:30:54 -0700 | |
| commit | a659643a6b504189e899e56901c760f89eb4bb13 (patch) | |
| tree | 1fa2f3699e8223925514c08fb0a3dc2abc9bd935 /include/linux | |
| parent | staging: comedi: cb_das16_cs: consolidate the attach messages (diff) | |
staging: comedi: cb_das16_cs: return '0' for successful attach
The comedi core expects a < 0 value during the attach to indicate
an error. The normal 'success' return to the kernel is '0' so use
that here.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
