OSDN Git Service

staging: comedi: ni_stc.h: tidy up AO_Output_Control_Register and bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 21:59:35 +0000 (14:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:14 +0000 (19:05 +0200)
commit5bd1c7283794112234aace1ef679c947d26a841e
tree985c19b0e14bda9f7762228ca3200348a4c832da
parent8102f3d0c17b11e01e31a01c762867ae44a96d23
staging: comedi: ni_stc.h: tidy up AO_Output_Control_Register and bits

Rename the CamelCase. Convert the inline helper function into a macro and
use the BIT() marco to define the bits.

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/ni_mio_common.c
drivers/staging/comedi/drivers/ni_stc.h