staging: comedi: amplc_pci230: Prefer using the BIT macro
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 30 Mar 2016 19:19:21 +0000 (12:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 04:02:44 +0000 (21:02 -0700)
commit61ac7ccfb5cbe59ee940f0a7b3ad4fd3e3ce8c37
tree5b7ac6e6b78ef9d0d3ce5a6db8233ceac9ec4d31
parent6050b1cfc66c421546880c0219cbce9102800099
staging: comedi: amplc_pci230: Prefer using the BIT macro

Fix the checkpatch.pl issues by using the BIT macro and defining some
macros for the multi-bit fields.

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