[PATCHv3 02/27] clk: ti: move generic OMAP DPLL implementation under drivers/clk
Stephen Boyd
sboyd at codeaurora.org
Thu May 28 15:03:27 PDT 2015
On 05/25, Tero Kristo wrote:
> @@ -281,7 +282,7 @@ unsigned long omap2_get_dpll_rate(struct clk_hw_omap *clk)
> * be rounded, or the rounded rate upon success.
> */
> long omap2_dpll_round_rate(struct clk_hw *hw, unsigned long target_rate,
> - unsigned long *parent_rate)
> + unsigned long *parent_rate)
> {
> struct clk_hw_omap *clk = to_clk_hw_omap(hw);
> int m, n, r, scaled_max_m;
> @@ -310,7 +311,6 @@ long omap2_dpll_round_rate(struct clk_hw *hw, unsigned long target_rate,
> dd->last_rounded_rate = 0;
>
> for (n = dd->min_divider; n <= dd->max_divider; n++) {
> -
> /* Is the (input clk, divider) pair valid for the DPLL? */
> r = _dpll_test_fint(clk, n);
> if (r == DPLL_FINT_UNDERFLOW)
> @@ -367,4 +367,3 @@ long omap2_dpll_round_rate(struct clk_hw *hw, unsigned long target_rate,
>
> return dd->last_rounded_rate;
> }
> -
It's a lot easier to see the cleanup that happened while copying
code over. Thanks.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the linux-arm-kernel
mailing list