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