summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-02-17 14:26:53 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-18 11:53:53 -0800
commitbb1aad5c3336802422ab66f1481531cf79aed3aa (patch)
tree6a607f26a7aeb71d0748642fda4c7f19482f4278 /include/linux
parent9acf56f25ae157e3b78d1238671d103c360f83b4 (diff)
staging: comedi: pcl812: tidy up digital subdevice boardinfo
For the board types that have digital inputs and outputs there are always 16 input channels and 16 output channels. Remove the 'n_dichan' and 'n_dochan' members in the boardinfo and replace them with a bit-field flag 'has_dio'. Refactor pcl812_attach() to use the new boardinfo. 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