diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-17 14:26:53 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 11:53:53 -0800 |
| commit | bb1aad5c3336802422ab66f1481531cf79aed3aa (patch) | |
| tree | 6a607f26a7aeb71d0748642fda4c7f19482f4278 /include | |
| parent | 9acf56f25ae157e3b78d1238671d103c360f83b4 (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')
0 files changed, 0 insertions, 0 deletions
