From: H Hartley Sweeten Date: Fri, 1 May 2015 21:59:22 +0000 (-0700) Subject: staging: comedi: ni_stc.h: tidy up AO_Trigger_Select_Register and bits X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~704 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f21844d33b6de37aa105de3e2e50dd944dd3d2b0;p=pandora-kernel.git staging: comedi: ni_stc.h: tidy up AO_Trigger_Select_Register and bits Rename the CamelCase. Use the BIT() macro to define the bits. Tidy up the ni_ao_cmd() by using a local var to mask/set the bits then 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