staging: comedi: daqboard2000: use type 'u16' for CPLD data and status
authorIan Abbott <abbotti@mev.co.uk>
Wed, 4 Jan 2017 10:55:36 +0000 (10:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:38:32 +0000 (17:38 +0100)
commit3bc3a8239009d6eac56e5076ea5e3eef2b61cd9b
tree6d4bc93f83bd5ef743e853cf0a70696c5a6488cb
parent1736bcf3c53fee7331279060556fa60b6e9f4b2d
staging: comedi: daqboard2000: use type 'u16' for CPLD data and status

The CPLD status and data registers used to load firmware are 16 bits
wide.  Use the type `u16` to represent data and status values instead of
`int`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/daqboard2000.c