staging: comedi: dt9812: pass the comedi_device * to dt9812_digital_out_shadow()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:23:57 +0000 (14:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:25:56 +0000 (16:25 -0700)
commit1c1f1d06a1ff6a2ab97cd849d7c0b4b613825fef
tree94020999371f945d1daec7c8c28623e7e7bd7a7f
parent51af6fa15e83f88fdd7de235db353f6a8b35513f
staging: comedi: dt9812: pass the comedi_device * to dt9812_digital_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