OSDN Git Service

staging: comedi: ni_stc.h: tidy up the windowed_regs_67xx_61xx
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 22:00:11 +0000 (15:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:19 +0000 (19:05 +0200)
commitef3915435c587caa24b8840f29102aa49d921216
treec9d149e415c079c5ecf00d446955430f7677ed21
parent94f0cbb99a040a8aceddb490e4ed08cd4d4a4fde
staging: comedi: ni_stc.h: tidy up the windowed_regs_67xx_61xx

Rename the CamelCase. For aesthetics, convert the enum 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_mio_common.c
drivers/staging/comedi/drivers/ni_stc.h