]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: fl512: sample types are unsigned
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:21 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:29 +0000 (12:48 -0700)
commitb1b07a3b8152d67e24ae8c39030361b00d8319d8
tree483a39744fb5ce4370552391a1004e55c6dc2057
parent22a09e2661e7fe70da10574ad23007ae921f1ab8
staging: comedi: fl512: sample types are unsigned

Sample values in comedi are generally represented as unsigned values.
Change the element type of the `ao_readback[]` member of `struct
fl512_private` from `short` 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/fl512.c