staging: comedi: adl_pci9118: convert private data true/false flags to bit-fields
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Sep 2014 20:05:36 +0000 (13:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:34:24 +0000 (14:34 -0700)
commit32502f5aa1cd4772d29eabdce1cf82985edcfadd
tree8fdd3b6bf938f1d4b8a0e5247183fe293f75fe41
parentf463b8c08067f58eee5352a5822e67f5fe7360f5
staging: comedi: adl_pci9118: convert private data true/false flags to bit-fields

For aesthetics convert the private data true/false flags to bit-fields. The
'usemux' member is used in the driver as a flag. Refactor the analog input
subdevice init so this member can also be a bit-field.

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