]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_stc.h: tidy up RTSI_Trig_Direction_Register and bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 21:59:14 +0000 (14:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:11 +0000 (19:05 +0200)
commita4f18b1c40875d199a1f7a77f08642d38c4e6b21
tree8196a89295218ff2ec86cae8ab84ec65ebdc5911
parente2bdb0d833655b09d7ae75b7ca4eafde22fda9a4
staging: comedi: ni_stc.h: tidy up RTSI_Trig_Direction_Register and bits

Rename the CamelCase and convert the enum and inline function 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