diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-09-10 19:00:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 20:05:56 -0700 |
| commit | ae479ee562cf3d7d33eebbb30e6c3105475ed5b8 (patch) | |
| tree | c416fa412ce95bd42119fe40a6ed7a9516c9aa3a /scripts | |
| parent | 9852d13745bef4158e152c3b00f0678ca1b5ccb7 (diff) | |
staging: comedi: adl_pci9111: use local variables for the chan/range
Simplify the chan/range in pci9111_ai_insn_read() by using local
variables for hold the values and by just passing insn->chanspec
to the CR_* macros instead of using (&insn->chanspec)[0].
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
