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