diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-01-20 14:53:00 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 19:59:10 +0800 |
| commit | 068de2b65b9d14777c7d30853a332ccead664b94 (patch) | |
| tree | c809a8dfbe4f98cd294a2fb6e27a1f03dc1c6717 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c5b6b54488d0cd054ab28f86565aeef537d7ee65 (diff) | |
staging: comedi: adv_pci1710: simplify digital input and output boardinfo
The boards that have digital inputs and outputs always have 16 input channels and
16 output channels.
Replace the 'n_dichan' and 'n_dochan' members of the boardinfo with the fit-field
flag 'has_di_do' and refactor the board attach accordingly.
Remove the unnecessary initialization of the subdevice 'len_chanlist'. That
member is only used by subdevices that support async commands.
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
