diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-29 23:56:30 (GMT) |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2015-08-24 23:48:44 (GMT) |
commit | 98d8a60eccee74165793379f1f8a3b1cef3131c7 (patch) | |
tree | 43acc8e09d585a34910faa070b972c48d03a4f55 /drivers/clk/qcom | |
parent | 497295afb5ab070211a9963c80a89bc6fbfd6197 (diff) | |
download | linux-98d8a60eccee74165793379f1f8a3b1cef3131c7.tar.xz |
clk: Convert __clk_get_flags() to clk_hw_get_flags()
Mostly converted with the following snippet:
@@
struct clk_hw *E;
@@
-__clk_get_flags(E->clk)
+clk_hw_get_flags(E)
Acked-by: Tero Kristo <t-kristo@ti.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom')
-rw-r--r-- | drivers/clk/qcom/clk-rcg.c | 2 | ||||
-rw-r--r-- | drivers/clk/qcom/clk-rcg2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/qcom/clk-rcg.c b/drivers/clk/qcom/clk-rcg.c index e5c6082..070162a 100644 --- a/drivers/clk/qcom/clk-rcg.c +++ b/drivers/clk/qcom/clk-rcg.c @@ -420,7 +420,7 @@ static int _freq_tbl_determine_rate(struct clk_hw *hw, const struct freq_tbl *f, if (index < 0) return index; - clk_flags = __clk_get_flags(hw->clk); + clk_flags = clk_hw_get_flags(hw); p = clk_get_parent_by_index(hw->clk, index); if (clk_flags & CLK_SET_RATE_PARENT) { rate = rate * f->pre_div; diff --git a/drivers/clk/qcom/clk-rcg2.c b/drivers/clk/qcom/clk-rcg2.c index d1d2491..98cf719 100644 --- a/drivers/clk/qcom/clk-rcg2.c +++ b/drivers/clk/qcom/clk-rcg2.c @@ -192,7 +192,7 @@ static int _freq_tbl_determine_rate(struct clk_hw *hw, if (index < 0) return index; - clk_flags = __clk_get_flags(hw->clk); + clk_flags = clk_hw_get_flags(hw); p = clk_get_parent_by_index(hw->clk, index); if (clk_flags & CLK_SET_RATE_PARENT) { if (f->pre_div) { |