diff options
| author | 2015-10-05 15:33:08 -0700 | |
|---|---|---|
| committer | 2015-10-12 21:18:33 -0700 | |
| commit | 5affcdc236f1685122a6fdcb1a3c698f96f145ce (patch) | |
| tree | 6e026ea3f20e03acbea2df3b0d5298d2af609d85 /scripts/checkstack.pl | |
| parent | staging: comedi: multiq3: tidy up multi-line comments (diff) | |
staging: comedi: multiq3: tidy up multiq3_ai_insn_read()
For aesthetics, use the proper symbol when reading the A/D data register
to get the 16-bit sample data.
Use the comedi_offset_munge() to do the 2's complement to offset binary
munging of the sample data.
Tidy up the function a bit.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
