diff options
| author | 2013-05-14 14:33:09 -0700 | |
|---|---|---|
| committer | 2013-05-16 16:26:02 -0700 | |
| commit | 83a69f5adb81b3432fb1e58485639c391cc65f17 (patch) | |
| tree | 27cf5530ecf387704d8aa4824ce4707213836e42 /scripts/patch-kernel | |
| parent | staging: comedi: dt9812: convert digital out subdevice to (*insn_bits) (diff) | |
staging: comedi: dt9812: cleanup analog in subdevice (*insn_read)
For aesthetic reasons, rename the function to help with grepping and
rename some of the local vars.
dt9812_analog_in() can fail. Make sure to check for any failure and
return the errno.
The comedi core expects the (*insn_read) functions to return either
an errno or the number of samples read. Change the final return to
insn->n to make this clearer.
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/patch-kernel')
0 files changed, 0 insertions, 0 deletions
