commit | 9d639b6b252759e6333aa576645f25624c4b9a99 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Jun 27 14:59:19 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 06 15:40:04 2012 -0700 |
tree | 6ea9bb3d0b213696ab96b0cf599223be5fbee13c | |
parent | db7c275d9ffd2c58648b1bf023ab62cf993ddfac [diff] |
staging: comedi: adl_pci6208: pass on the error code from comedi_pci_enable Return the actual error code from comedi_pci_enable instead of assuming -EIO on failure. Also, shorten the local variable name 'retval' to 'ret'. 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>