summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-07-29 13:55:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-31 17:37:46 -0700
commit6d063851933584ab812f59bb0cdfb16d584ac5b0 (patch)
tree1e39a8023145814b0f88de7ed7efe5437eb33625 /include/linux
parent6050cc918dd4c002ddebf76861c6d9f240c1a4dc (diff)
staging: comedi: das16: cleanup analog output subdevice
All the boards supported by this driver that have analog outputs use the same function to handle the (*insn_write) for the subdevice. They all also have 12-bit resolution (maxdata = 0x0fff). Remove the 'ao' and 'ao_nbits' members from the boardinfo and replace them with a simple bit-field flag 'has_ao'. Tidy up the subdevice init a bit as well as the (*insn_write) function. 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions