diff options
| author | 2013-05-14 14:28:26 -0700 | |
|---|---|---|
| committer | 2013-05-16 16:25:59 -0700 | |
| commit | 135a0009a5ff601e2c68dfd6b280f42e43711c23 (patch) | |
| tree | 1a2a25d9d2f1fb501e33bf3eda16a1ca8e34a99c /include | |
| parent | staging: comedi: dt9812: use module_comedi_usb_driver() (diff) | |
staging: comedi: dt9812: move shadow values to private data
The analog and digital out shadow values are only used by the
comedi_device. Move the variables from the usb private data to
the comedi private data. Also, rename them to something a bit
shorter.
Move the initialization of the shadow values from the usb probe
to the comedi attach. Also rename the flag used to determine the
initial value from 'range_2_5' to 'is_unipolar'.
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
