From: H Hartley Sweeten Date: Mon, 9 Dec 2013 22:31:21 +0000 (-0700) Subject: staging: comedi: pcmmio: return '0' after successful attach X-Git-Tag: v3.14-rc1~150^2~297 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=748cfd987bc93c7af88d19e206226a307a3e0b76;p=pandora-kernel.git staging: comedi: pcmmio: return '0' after successful attach The comedi core expects the (*attach) functions to return < 0 to indicate an error or >= 0 for success. Change the return to '0' as that is more typical. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed