From: H Hartley Sweeten Date: Tue, 26 Jun 2012 00:16:04 +0000 (-0700) Subject: staging: comedi: cb_das16_cs: return '0' for successful attach X-Git-Tag: v3.6-rc1~100^2~522 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a659643a6b504189e899e56901c760f89eb4bb13;p=pandora-kernel.git staging: comedi: cb_das16_cs: return '0' for successful attach The comedi core expects a < 0 value during the attach to indicate an error. The normal 'success' return to the kernel is '0' so use that here. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed