staging: comedi: dt9812: pass the comedi_device * to dt9812_digital_in()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:23:12 +0000 (14:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:25:55 +0000 (16:25 -0700)
commit4bc839f25044f75d7b59d5481c404ce20563ef86
tree283d7b666963237e4795fe8453918aeb14defbe8
parent0ec77d3499b10c75b279080a79a79e35e51b70a6
staging: comedi: dt9812: pass the comedi_device * to dt9812_digital_in()

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'.

Remove the commented out printk().

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