staging: comedi: ni_labpc_common: use subdevice readback for 'caldac'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 20 Nov 2014 22:07:32 +0000 (15:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:39:17 +0000 (15:39 -0800)
commit1e3d3a4d1bba9b7de7f18212954740624cd0448e
treef6b8bf31269e6c287fbf8e1fd85d2fe706334ed3
parent332f46e4be24f252fdc719abd52f3ac711c0aab4
staging: comedi: ni_labpc_common: use subdevice readback for 'caldac'

Use the comedi_subdevice 'readback' member and the core provided (*insn_read)
to handle the readback of the write-only caldac subdevice. Remove the then unused
'caldac' member from the private data.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.h
drivers/staging/comedi/drivers/ni_labpc_common.c
This page took 0.026099 seconds and 5 git commands to generate.