From: H Hartley Sweeten Date: Thu, 25 Oct 2012 22:06:37 +0000 (-0700) Subject: staging: comedi: me_daq: pass on the error from comedi_pci_enable() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~937 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae76422338f25ee4907e92ae3cdc968fdd9b578;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed