]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: icp_multi: sample types are unsigned
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:22 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:29 +0000 (12:48 -0700)
commit22d1b0650a1c79488e1cabe615e6999eeb270a82
treebec5d435325c60f68b60af33869d96d204c484b1
parent58f91823deeeb377e6e7b20a85190575f3bf104b
staging: comedi: icp_multi: sample types are unsigned

Sample values in comedi are generally represented as unsigned values.
Change the element type of the `ao_data[]` member of `struct
icp_multi_private` from `short` to `unsigned short` for consistency.

Also remove the `ai_data` and `di_data` members as they are not used.

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