]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: dt9812: pass the comedi_device * to dt9812_analog_in()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:24:21 +0000 (14:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:25:56 +0000 (16:25 -0700)
commitc13626a2467b153f0f499c30d85722725c129881
tree63927c2ad8d552baad23294a20ddc21c866816f0
parent1c1f1d06a1ff6a2ab97cd849d7c0b4b613825fef
staging: comedi: dt9812: pass the comedi_device * to dt9812_analog_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'.

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