aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2018-09-12 11:35:49 -0400
committerStephen Boyd <sboyd@kernel.org>2018-10-01 18:13:42 -0400
commit6ffeddd6bca4cb838623d0bf4134c0eb06ad7485 (patch)
tree3a65e6a281e8cf2a660d56efe9ad71a0463590e2
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
clk: mvebu: ap806: Remove superfluous of_clk_add_provider
While applying the commit a8309cedcdce ("clk: apn806: Add eMMC clock to system controller driver"), of_clk_add_provider was added wheres it was already present in the probe function. This extraneous call is harmless but not useful so remove it. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r--drivers/clk/mvebu/ap806-system-controller.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/mvebu/ap806-system-controller.c b/drivers/clk/mvebu/ap806-system-controller.c
index fa2fbd2cef4a..cfc6b82d2448 100644
--- a/drivers/clk/mvebu/ap806-system-controller.c
+++ b/drivers/clk/mvebu/ap806-system-controller.c
@@ -155,7 +155,6 @@ static int ap806_syscon_common_probe(struct platform_device *pdev,
155 goto fail4; 155 goto fail4;
156 } 156 }
157 157
158 of_clk_add_provider(np, of_clk_src_onecell_get, &ap806_clk_data);
159 ret = of_clk_add_provider(np, of_clk_src_onecell_get, &ap806_clk_data); 158 ret = of_clk_add_provider(np, of_clk_src_onecell_get, &ap806_clk_data);
160 if (ret) 159 if (ret)
161 goto fail_clk_add; 160 goto fail_clk_add;