diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-01-20 14:52:59 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 19:59:10 +0800 |
| commit | c5b6b54488d0cd054ab28f86565aeef537d7ee65 (patch) | |
| tree | 2dedd35e819b72572ad278a7b0504a0612b500ca /tools/perf/scripts/python/syscall-counts.py | |
| parent | d615416de6157812e6d7b732991ece884fc6c59e (diff) | |
staging: comedi: adv_pci1710: change boardinfo 'n_counter' to 'has_counter'
The 'n_counter' member of the boardinfo is actually a flag indicating that the
board exposes a single channel counter subdevice.
For aesthetics, change the 'n_counter' member to a bit-field flag 'has_counter'
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
