From: H Hartley Sweeten Date: Fri, 1 May 2015 21:58:37 +0000 (-0700) Subject: staging: comedi: ni_stc.h: tidy up NI_M_PLL_CTRL_REG bits X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~749 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b965e6a4ab970ae9bdd2517402ea51039b061326;p=pandora-kernel.git staging: comedi: ni_stc.h: tidy up NI_M_PLL_CTRL_REG bits Rename the CamelCase and convert the enum into defines. Use the BIT() macro to define the bits. Convert the inline functions MSeries_PLL_Divisor_Bits() and MSeries_PLL_Multiplier_Bits() to macros. The helper function ni_mseries_get_pll_parameters() always returns valid values for the 'divisor' and 'multiplier' so the sanity checking can safely be removed. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed