staging: comedi: use unsigned sample in cfc_write_to_buffer()
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:05 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:16 +0000 (12:48 -0700)
commitca05b81334f46469c6eb4ba7cf8630f3143c22e5
treea7d05067ad8f3dc0979f88ae5d6d27032fc84fda
parent0a6fd02c1c0fe4ae872dc24260d569583363f52c
staging: comedi: use unsigned sample in cfc_write_to_buffer()

Sample values in comedi are generally represented as unsigned values.
`cfc_write_to_buffer()` in "comedi_fc.h" currently uses `short` to hold
a 16-bit sample value to be written to the buffer.  Change the type of
the parameter 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/comedi_fc.h