staging: comedi: das16m1: sample types are unsigned
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:17 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:19 +0000 (12:48 -0700)
commiteabbf3f43fd91f69f3d15eab8135757d9ddda4b6
treef1226db1ea61568f1a1550c5953bc5da1f6c6a0a
parent920983458cbf4213e8a99567d8d22c3721723cd1
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>
drivers/staging/comedi/drivers/das16m1.c