diff options
| author | H Hartley Sweeten <[email protected]> | 2014-07-14 12:23:44 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-07-16 13:24:42 -0700 |
| commit | a52b53e4a743988667e5db7cd0de1cdb0732b4f9 (patch) | |
| tree | 6286061591c3f3765524ce445bac6cd61548f0f1 /tools/perf/scripts/python | |
| parent | bfb0c28ba03a46740c80848ba7b93fafb91de033 (diff) | |
staging: comedi: ni_stc.h: add some 'is_{board type}' flags to private data
The board->reg_type if checked quite often in the ni_mio_common.c code to
handle differences in the PCI devices supported by the ni_pcimio driver.
Simplify the code a bit by adding some 'is_{board type}' bit-field flags
to the private data.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions