From: H Hartley Sweeten Date: Thu, 19 Dec 2013 23:31:42 +0000 (-0700) Subject: staging: comedi: ni_tio_internal.h: replace NITIO_Gi_Second_Gate_Reg() X-Git-Tag: v3.14-rc1~150^2~195 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a0894e0d465a6bcf6fc3f67c75f808f0d90fa3e;p=pandora-kernel.git staging: comedi: ni_tio_internal.h: replace NITIO_Gi_Second_Gate_Reg() The "Second Gate" registers are sequential in the enum ni_gpct_register. Replace this inline CamelCase function with a simple define. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed