diff options
| author | H Hartley Sweeten <[email protected]> | 2013-04-08 18:17:43 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-04-09 16:29:05 -0700 |
| commit | 630a334b430fc4b4e13f9ddb5f7ddc42c45789d9 (patch) | |
| tree | 242b35f8f2fded6cf42a7409913db94344fa5dcb /tools/perf/scripts/python/bin | |
| parent | 7ae8de37fea41d3728d37c048760e1e205871882 (diff) | |
staging: comedi: rti800: use arrays to hold the ai/ao ranges
The analog in/analog out ranges are selected by the user using options
passed during the legacy attach. Put the valid ranges into arrays and
use those instead of the switch () statements when initializing the
subdevice range information.
If the passed user option is not valid, set the range information to
range_unknown.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions