staging: comedi: ni_at_a2150: sample types are unsigned
commit2fb5cd385cb7ed56ce1ffd24264c3d5584972345
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:24 +0000 (16 14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:29 +0000 (16 12:48 -0700)
tree66c8bb9039cebf5a1617b26a2e9b29ea62639230
parentac2832f85948e0a0b213be2709008461f78e7ff4
staging: comedi: ni_at_a2150: sample types are unsigned

Sample values in comedi are generally represented by unsigned values.
Change the type of the `dma_buffer` member of `struct a2150_private`
from `s16 *` to `uint16_t *`, and change the type of the `dpnt` variable
in `a2150_interrupt()` 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/ni_at_a2150.c