staging: comedi: comedi_test: make samples unsigned
authorIan Abbott <abbotti@mev.co.uk>
Fri, 4 Jan 2013 11:33:24 +0000 (11:33 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:37:12 +0000 (14:37 -0800)
commit8bd48c9ef1f1af96dc699e67a8dc985046e6f22b
tree536e5e135f7e28723bd4d1c7d89a29941fec4b3f
parentea4f72b27985e21c846ffbff1a27871db4f8708e
staging: comedi: comedi_test: make samples unsigned

Represent the fake samples as unsigned shorts instead of signed shorts,
as this is the usual Comedi convention.  There is no change to the
actual binary representation, although the `cfc_write_to_buffer()` call
currently expects a signed short for some bizarre reason.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/comedi_test.c