]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: comedi: ni_stc.h: tidy up the cs5529_configuration_bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 22:00:09 +0000 (15:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:19 +0000 (19:05 +0200)
commitb738aa3a131bdc670191318bebc558629b3f1ed4
treeed701ba08e1c6d493f2b4619c8e65d8c1272fe72
parentee3e21ac4be697350369bbd1c0b70f4acb909fa0
staging: comedi: ni_stc.h: tidy up the cs5529_configuration_bits

For aesthetics, convert the enum into defines and the inline functions
into macros. 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