staging: comedi: dt9812: pass the comedi_device * to dt9812_analog_out()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:26:28 +0000 (14:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:25:58 +0000 (16:25 -0700)
commit9d231df80dbaa9918061310149c24bfc3864ca96
tree0181f8c3c60e54553bc40875724a7da5fc1b44c3
parent687d84798de4c202c104db888b33e956bb5b883d
staging: comedi: dt9812: pass the comedi_device * to dt9812_analog_out()

For aesthetic reasons, instead of passing the struct usb_dt9812 pointer,
pass the comedi_device pointer to this function and rename the local
variable 'result' to simply 'ret'.

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