OSDN Git Service

staging: comedi: ni_stc.h: tidy up RTSI_Trig_[AB]_Output_Register and bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 21:59:32 +0000 (14:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:13 +0000 (19:05 +0200)
commit390bc6ffe797b6b071eeab4628054adc4b9b4751
tree2fa11598d235ccba4874208391c2e31644c7c814
parent63ff3f2c2945adecf6b843c8213ab050ef1326f8
staging: comedi: ni_stc.h: tidy up RTSI_Trig_[AB]_Output_Register and bits

Rename the CamelCase. Convert the inline helper functions to macros and 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