]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb81b822a4428d671b1de68b864910ec23c0850c8
treed4e54b7503b08d1ad493fcf3c75316a363f41567
parent6169353cdd52e2d2586c211e391883fa44821391
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