staging: comedi: comedi_bond: return error code in do_dev_config()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 23 Aug 2013 13:45:00 +0000 (14:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Aug 2013 13:41:56 +0000 (06:41 -0700)
commitfcf26cff891930e62bc4cd208a6b679fb1a1f144
treed4e54b7503b08d1ad493fcf3c75316a363f41567
parenta7e240a40c0e9cff7572cda74daea18985ff4aad
staging: comedi: comedi_bond: return error code in do_dev_config()

Change `do_dev_config()` to return an error code on failure and 0 on
success, instead of 0 on failure and 1 on success.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/comedi_bond.c