]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_stc.h: tidy up Clock_and_FOUT_Register and bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 21:59:10 +0000 (14:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:10 +0000 (19:05 +0200)
commita47fc02b497ec7ed9e1409f5a24fa5c0ea1ee1a7
tree0910920c346b71ee56722baa1e993d2e3ede3880
parent37e0ecee83a41b08361c33ea627e0d2e0a9ea88d
staging: comedi: ni_stc.h: tidy up Clock_and_FOUT_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