diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2016-08-17 00:38:27 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-08-25 02:37:06 +0200 |
commit | 120c1552839036f0fb2c01fffb8d8ce4049b729a (patch) | |
tree | 1fa23b29edc0526715179779c13bd81218807ab2 /drivers/clk/qcom/clk-regmap.h | |
parent | clk: wm831x: Migrate to clk_hw based registration APIs (diff) | |
download | linux-120c1552839036f0fb2c01fffb8d8ce4049b729a.tar.xz linux-120c1552839036f0fb2c01fffb8d8ce4049b729a.zip |
clk: qcom: Migrate to clk_hw based registration and OF APIs
Now that we have clk_hw based provider APIs to register clks, we
can get rid of struct clk pointers in this driver, allowing us to
move closer to a clear split of consumer and provider clk APIs.
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/clk-regmap.h')
-rw-r--r-- | drivers/clk/qcom/clk-regmap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/qcom/clk-regmap.h b/drivers/clk/qcom/clk-regmap.h index 491a63d537df..90d95cd11ec6 100644 --- a/drivers/clk/qcom/clk-regmap.h +++ b/drivers/clk/qcom/clk-regmap.h @@ -39,7 +39,6 @@ struct clk_regmap { int clk_is_enabled_regmap(struct clk_hw *hw); int clk_enable_regmap(struct clk_hw *hw); void clk_disable_regmap(struct clk_hw *hw); -struct clk * -devm_clk_register_regmap(struct device *dev, struct clk_regmap *rclk); +int devm_clk_register_regmap(struct device *dev, struct clk_regmap *rclk); #endif |