summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mvebu/ap806-system-controller.c
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2018-09-12 17:35:49 +0200
committerStephen Boyd <sboyd@kernel.org>2018-10-01 15:13:42 -0700
commit6ffeddd6bca4cb838623d0bf4134c0eb06ad7485 (patch)
tree3a65e6a281e8cf2a660d56efe9ad71a0463590e2 /drivers/clk/mvebu/ap806-system-controller.c
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
downloadtalos-obmc-linux-6ffeddd6bca4cb838623d0bf4134c0eb06ad7485.tar.gz
talos-obmc-linux-6ffeddd6bca4cb838623d0bf4134c0eb06ad7485.zip
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>
Diffstat (limited to 'drivers/clk/mvebu/ap806-system-controller.c')
-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,
goto fail4;
}
- of_clk_add_provider(np, of_clk_src_onecell_get, &ap806_clk_data);
ret = of_clk_add_provider(np, of_clk_src_onecell_get, &ap806_clk_data);
if (ret)
goto fail_clk_add;
OpenPOWER on IntegriCloud