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

Sample values in comedi are generally represented by unsigned values.
Change the type of the `ao_update_bits` member of `struct
das1800_private` and the types of various local variables used to hold
sample values 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/das1800.c