From: H Hartley Sweeten Date: Fri, 1 May 2015 21:59:19 +0000 (-0700) Subject: staging: comedi: ni_stc.h: tidy up AI_Trigger_Select_Register and bits X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~707 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f878071a;p=pandora-kernel.git staging: comedi: ni_stc.h: tidy up AI_Trigger_Select_Register and bits Rename the CamelCase. Use the BIT() macro to define the bits. Tidy up ni_ai_cmd() by using a local var to set the common bits and programming the register in the common code path. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed