staging: comedi: amplc_pci230: shrink struct pci230_board
authorIan Abbott <abbotti@mev.co.uk>
Mon, 1 Sep 2014 11:03:45 +0000 (12:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 18:21:31 +0000 (11:21 -0700)
commit33af02c7b259a60dca2cd1ca11a4568dcc000113
treea58901b3eab82da5fc269143ad69870f2a19f7f0
parent867ae76dda9365c125ac88f256ca20d557e9e6e8
staging: comedi: amplc_pci230: shrink struct pci230_board

The `ai_bits`, `ao_bits`, and `min_hwver` members of `struct
pci230_board` are only set to small, non-negative values, so make them
`unsigned char`.  The `have_dio` member is used as a boolean so change
it to a bitfield of type `bool`.

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/amplc_pci230.c