commit | eabbf3f43fd91f69f3d15eab8135757d9ddda4b6 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed Oct 16 14:40:17 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 16 12:48:19 2013 -0700 |
tree | f1226db1ea61568f1a1550c5953bc5da1f6c6a0a | |
parent | 920983458cbf4213e8a99567d8d22c3721723cd1 [diff] |
staging: comedi: das16m1: sample types are unsigned Sample values in comedi are generally represented as unsigned values. Change the element type of the `ai_buffer[]` member of `struct das16m1_private_struct` and the types used by `munge_sample()` and `munge_sample_array()` from `short` to `unsigned short` for consistency. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>