OSDN Git Service

staging: comedi: ni_stc.h: tidy up NI_M_CDI_MODE_REG bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 21:58:48 +0000 (14:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:06 +0000 (19:05 +0200)
commitf9a8f6067da172c58390dd5d1b786b4e4e790f61
tree0a8e80e61e2f2199631cbbcdf149817f313b7cf2
parent3c3eb8eaa75fc698f4edb7517830b112f51c11d0
staging: comedi: ni_stc.h: tidy up NI_M_CDI_MODE_REG bits

Rename the CamelCase and convert enums into defines. Use the BIT()
macro 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_stc.h