]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: me4000: sample types are unsigned (and not long!)
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:23 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:29 +0000 (12:48 -0700)
commitac2832f85948e0a0b213be2709008461f78e7ff4
tree9d7a43d32adc1704be010e2382058348c110fbae
parent22d1b0650a1c79488e1cabe615e6999eeb270a82
staging: comedi: me4000: sample types are unsigned (and not long!)

Sample values in comedi are generally represented as unsigned values.
Change the types of various variables in the "me4000" driver dealing
with samples to use unsigned types for consistency.

Also replace the `long` or `unsigned long` variables used to handle
32-bit register values to `unsigned int`.

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