summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-09-10 18:55:54 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-10 20:05:54 -0700
commit2f002cc9b8c5e59d3e67a184d7b1520fed9e3094 (patch)
treeb8614ff99ed0abe02f660d890d5f80d69adb2fc7 /include/linux
parentb5d8d11931f3b772487381e7ca89dfd6e5b4f0fd (diff)
staging: comedi: adl_pci9111: cleanup ai read in pci9111_ai_insn_read()
The shift, maxdata, and invert values, used to handle the 12-/16-bit analog input differences, can be calculated based on the subdevice maxdata value. 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/linux')
0 files changed, 0 insertions, 0 deletions