commit | 0a6fd02c1c0fe4ae872dc24260d569583363f52c | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed Oct 16 14:40:04 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 16 12:48:16 2013 -0700 |
tree | baa22db3b5428415f90627192539b97e3c8b70e6 | |
parent | 3ba0938c162fc847890c8c0ab717bb8a96ee9d0d [diff] |
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>