From: H Hartley Sweeten Date: Thu, 19 Dec 2013 23:31:41 +0000 (-0700) Subject: staging: comedi: ni_tio_internal.h: replace NITIO_Gi_Counting_Mode_Reg() X-Git-Tag: v3.14-rc1~150^2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0412ea4696decc35ec5f394ab7832619504c96a7;p=pandora-kernel.git staging: comedi: ni_tio_internal.h: replace NITIO_Gi_Counting_Mode_Reg() The "Counting Mode" 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