diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-25 22:06:37 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-26 16:20:01 (GMT) |
commit | 4ae76422338f25ee4907e92ae3cdc968fdd9b578 (patch) | |
tree | 93837732b5df8876712a04602f67ecc3606d20d7 /COPYING | |
parent | 4bb153b4e4f9e11ac7e9b58d3957dba9a3c3fd2e (diff) | |
download | linux-fsl-qoriq-4ae76422338f25ee4907e92ae3cdc968fdd9b578.tar.xz |
staging: comedi: me_daq: pass on the error from comedi_pci_enable()
Instead of returning -EIO when comedi_pci_enable() fails, pass on
the actual error code. Also, remove the kernel noise when the
function fails.
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions