diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-06-13 03:12:58 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-18 01:33:41 +0400 |
| commit | 0ed9f25fbc94e8cfe6f5929e6cafa98944d51617 (patch) | |
| tree | 3f7858317124563816b9e01f11bfa08587c33b55 /tools/perf/scripts/python | |
| parent | 4aab8bfd1db3455c062c332e56790e6f046284c7 (diff) | |
| download | linux-0ed9f25fbc94e8cfe6f5929e6cafa98944d51617.tar.xz | |
staging: comedi: addi_apci_3xxx: refactor 'i_NbrTTLChannel' boardinfo
The boards that have ttl input and output channels always have 24
channels.
Remove the 'i_NbrTTLChannel' data from the boardinfo and add a bit
field to indicate that the board 'has_ttl_io'. Use that to conditionally
initialize the subdevice and open code the s->n_chan value of 24.
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')
0 files changed, 0 insertions, 0 deletions
