staging: comedi: dt3000: change return type of dt3k_send_cmd to void
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 26 Oct 2012 00:27:12 +0000 (17:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:18:18 +0000 (09:18 -0700)
commit0014048e091da8bfdbe6f5a15d4045d3747d1335
tree3c4e07c3d88a0b62cf0babc2cf84a3a468d49eff
parentd3bf2177c85f15a10c715cb0225311992503e8eb
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 <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt3000.c