summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-06-13 03:14:47 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-18 01:33:42 +0400
commitfa81e2f186fb95dac1641e1e8d6740ed559e5204 (patch)
tree318afb3fc2f10641d830941fbe4a5c75df99437e /tools/perf/scripts/python
parentf73abd3334ed64056ef2cca818610a082248dab3 (diff)
downloadlinux-fa81e2f186fb95dac1641e1e8d6740ed559e5204.tar.xz
staging: comedi: addi_apci_3xxx: refactor 'i_NbrAoChannel' boardinfo
The boards that have analog outputs always have 4 channels. Remove the 'i_NbrAoChannel' data from the boardinfo and add a bit field to indicate that the board 'has_ao'. Use that to conditionally initialize the subdevice and open code the s->n_chan value of 4. 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