staging: comedi: use unsigned samples for comedi_buf_put()/get()
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:04 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:16 +0000 (12:48 -0700)
commit0a6fd02c1c0fe4ae872dc24260d569583363f52c
treebaa22db3b5428415f90627192539b97e3c8b70e6
parent3ba0938c162fc847890c8c0ab717bb8a96ee9d0d
staging: comedi: use unsigned samples for comedi_buf_put()/get()

Sample values in comedi are generally represented as unsigned values.
`comedi_buf_put()` and `comedi_buf_get()` use a `short` to hold the
16-bit data value being transferred to or from the comedi buffer.
Change them to use `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/comedi_buf.c
drivers/staging/comedi/comedidev.h