staging: comedi: ni_tio_internal.h: replace NITIO_Gxx_Joint_Reset_Reg()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 19 Dec 2013 23:31:44 +0000 (16:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 19:49:32 +0000 (11:49 -0800)
commitfc31c52f4cfb9465ff69df881807ef1cc0730501
tree3c2f2eab9b200848ca5b1791756172073b3781c2
parent96b6175aa32385db609c706f2c78b14ac515e926
staging: comedi: ni_tio_internal.h: replace NITIO_Gxx_Joint_Reset_Reg()

The shared "Reset" registers are sequential in the enum ni_gpct_register.
Replace this inline CamelCase function with a simple define.

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_tio.c
drivers/staging/comedi/drivers/ni_tio_internal.h