diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2015-06-05 18:30:15 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-12 17:06:40 -0700 |
| commit | 4d14ac8a900961b44173a5dff38e138ecda8e4c7 (patch) | |
| tree | bf63efb84b261efc9ad3084256f0904c987b6359 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 2398391017ddec9427bdb94cc5d70326eaf8a3c5 (diff) | |
staging: comedi: das08: rename and rewrite DAS08_IP
The `DAS08_IP()` macro takes a value read from the status register and
returns the state of the three digital input channels (except on "JR"
boards). Rename it to `DAS08_STATUS_DI()` and add a comment. Also
re-arrange the expression used to extract the state of the digital
inputs for consistency with other register macros.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
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
