summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/clk-regmap.h
diff options
context:
space:
mode:
authorStephen Boyd <stephen.boyd@linaro.org>2016-08-17 01:38:27 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-08-25 03:37:06 +0300
commit120c1552839036f0fb2c01fffb8d8ce4049b729a (patch)
tree1fa23b29edc0526715179779c13bd81218807ab2 /drivers/clk/qcom/clk-regmap.h
parentcc671d13b6a1d1f6db2093994ff75220ce621234 (diff)
downloadlinux-120c1552839036f0fb2c01fffb8d8ce4049b729a.tar.xz
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.h3
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