From: H Hartley Sweeten Date: Fri, 26 Oct 2012 00:27:12 +0000 (-0700) Subject: staging: comedi: dt3000: change return type of dt3k_send_cmd to void X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~941 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0014048e091da8bfdbe6f5a15d4045d3747d1335;p=pandora-kernel.git staging: comedi: dt3000: change return type of dt3k_send_cmd to void None of the callers check the return value. Just make it a void. Flip the status check at the end of the function to check for an error before outputing the dev_dbg(). Use __func__ for the function name in the message. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed