On Fri, 2013-07-19 at 10:16 -0700, Soren Brinkmann wrote: > Use more descriptive #defines for the minimum and maximum PLL > feedback divider.
trivial > diff --git a/drivers/clk/zynq/pll.c b/drivers/clk/zynq/pll.c [] > @@ -63,10 +66,10 @@ static long zynq_pll_round_rate(struct clk_hw *hw, > unsigned long rate, > u32 fbdiv; > > fbdiv = DIV_ROUND_CLOSEST(rate, *prate); > - if (fbdiv < 13) > - fbdiv = 13; > - else if (fbdiv > 66) > - fbdiv = 66; > + if (fbdiv < PLL_FBDIV_MIN) > + fbdiv = PLL_FBDIV_MIN; > + else if (fbdiv > PLL_FBDIV_MAX) > + fbdiv = PLL_FBDIV_MAX; clamp -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

