staging: comedi: usbduxfast: tidy up send_dux_commands()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 20:37:38 +0000 (13:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:24:26 +0000 (16:24 -0700)
commit665ff8d3e968c08ea2f6a55bd1a71ac24c8d6d39
tree20b959919e36006745ab882782b45b4ab0dfb9f1
parent3056b105166ca2167a28b7733348b41a96ed58be
staging: comedi: usbduxfast: tidy up send_dux_commands()

Rename this function so it has namespace associated with the driver.

For aesthetic reasons, rename the local variable 'tmp' to 'ret' as
this is more common for checking errno values.

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/usbduxfast.c