From: Ian Abbott Date: Mon, 18 Mar 2013 17:19:03 +0000 (+0000) Subject: staging: comedi: amplc_dio200: dio200_common_attach() return 0 X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~494 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01d03a93f277d741ecfb744531215cd12fadf591;p=pandora-kernel.git staging: comedi: amplc_dio200: dio200_common_attach() return 0 Change the successful return value of `dio200_common_attach()` from 1 to 0. This is propagated as the return value from the driver's "attach" (`dio200_attach()`) or "auto_attach" (`dio200_auto_attach()`) handler. Any non-negative value will do, but 0 is more conventional than 1. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed