staging: comedi: ni_stc.h: tidy up G0_G1_Select register and bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 22:00:04 +0000 (15:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:18 +0000 (19:05 +0200)
commit7d6f3aaead3a76e7e12aa2bbfe18d8ed423d1d19
treebebcf2f658f179d936f328e6e6534003b35770c5
parenta4b7ef9d8eae56f0355d0ee2a762639901d7bef4
staging: comedi: ni_stc.h: tidy up G0_G1_Select register and bits

Rename the CamelCase. Convert the inline helper functions into macros.

Tidy up the driver code to use the new macros. For consistency, make
the ni_set_gpct_dma_channel() helper follow the same style as the
ni_set_ai_dma_channel() and ni_set_ao_dma_channel() helpers.

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