From: H Hartley Sweeten Date: Fri, 1 May 2015 21:58:36 +0000 (-0700) Subject: staging: comedi: ni_stc.h: tidy up NI_M_CLK_FOUT2_REG bits X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~750 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40aafd79a8b82ba506e28009cfa7c46bba813ce8;p=pandora-kernel.git staging: comedi: ni_stc.h: tidy up NI_M_CLK_FOUT2_REG bits Rename the CamelCase and convert the enum into defines. Use the BIT() macro to define the bits. Convert the inline function MSeries_PLL_In_Source_Select_RTSI_Bits() to a macro. The caller always passes valid values for 'RTIS_channel' so the sanity checking can safely be removed. Tidy up ni_mseries_set_pll_master_clock() to remove the unnecessary extra indent level for the code that sets a RTSI channel for the PLL source. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed