staging: comedi: dt9812: pass the comedi_device * to dt9812_analog_out_shadow()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:27:16 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:25:58 +0000 (16:25 -0700)
commitfad1c32076ae8b82c7b62be5946f98596f7febeb
tree703e40636097f6c2df84e3fc60b1c579da56b705
parent387d4879500cfc4b887740643061336916f587fb
staging: comedi: dt9812: pass the comedi_device * to dt9812_analog_out_shadow()

For aesthetic reasons, instead of passing the 'slot' pointer, pass the
comedi_device pointer to this function and rename the local var '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