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