diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-30 17:20:57 -0700 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2015-08-24 16:48:58 -0700 |
commit | a53ad8ef3dccb0c5482c60a3f6b8c0cbd498efe5 (patch) | |
tree | 4600c88e5c26787acac40cbc2d1e667e1cac805b /drivers/clk/ti/autoidle.c | |
parent | 5cdb1dc50be615aa26f8952e4b6f67b483849e97 (diff) | |
download | op-kernel-dev-a53ad8ef3dccb0c5482c60a3f6b8c0cbd498efe5.zip op-kernel-dev-a53ad8ef3dccb0c5482c60a3f6b8c0cbd498efe5.tar.gz |
clk: ti: Convert to clk_hw based provider APIs
We're removing struct clk from the clk provider API, so switch
this code to using the clk_hw based provider APIs.
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/ti/autoidle.c')
-rw-r--r-- | drivers/clk/ti/autoidle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clk/ti/autoidle.c b/drivers/clk/ti/autoidle.c index 527f2c6..345af43 100644 --- a/drivers/clk/ti/autoidle.c +++ b/drivers/clk/ti/autoidle.c @@ -169,21 +169,21 @@ int __init of_ti_clk_autoidle_setup(struct device_node *node) /** * omap2_init_clk_hw_omap_clocks - initialize an OMAP clock - * @clk: struct clk * to initialize + * @hw: struct clk_hw * to initialize * * Add an OMAP clock @clk to the internal list of OMAP clocks. Used * temporarily for autoidle handling, until this support can be * integrated into the common clock framework code in some way. No * return value. */ -void omap2_init_clk_hw_omap_clocks(struct clk *clk) +void omap2_init_clk_hw_omap_clocks(struct clk_hw *hw) { struct clk_hw_omap *c; - if (__clk_get_flags(clk) & CLK_IS_BASIC) + if (clk_hw_get_flags(hw) & CLK_IS_BASIC) return; - c = to_clk_hw_omap(__clk_get_hw(clk)); + c = to_clk_hw_omap(hw); list_add(&c->node, &clk_hw_omap_clocks); } |