From: H Hartley Sweeten Date: Fri, 1 May 2015 21:59:16 +0000 (-0700) Subject: staging: comedi: ni_stc.h: tidy up AI_Output_Control_Register and bits X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~710 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa9d73ba831eef18624cb7b8288987b3bfd4dac8;p=pandora-kernel.git staging: comedi: ni_stc.h: tidy up AI_Output_Control_Register and bits Rename the CamelCase. Use the BIT() macro to define the bits. Tidy up the programming of this register un ni_ai_reset() by using a local variable to set the common bits then writing 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