staging: comedi: ni_tio_internal.h: replace NITIO_Gi_LoadA_Reg()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 19 Dec 2013 23:31:38 +0000 (16:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 19:49:31 +0000 (11:49 -0800)
commit720712f439b3f02bcf473efe83ece259d97ce455
treeac7b7ff00695c45a2f67e445af3adad315c1cb6c
parent0101791e83cbd9076c34bf138d1407442dfdf95f
staging: comedi: ni_tio_internal.h: replace NITIO_Gi_LoadA_Reg()

The "LoadA" 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