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