aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-fixed-factor.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2018-12-14 13:42:08 -0800
committerStephen Boyd <sboyd@kernel.org>2018-12-14 13:42:08 -0800
commit9dc320424708378b7a2137a148fc4fc816105ba2 (patch)
tree74fe6b0ceddc3b78682ba2a6d95975a61f735f2b /drivers/clk/clk-fixed-factor.c
parentMerge branch 'clk-qcom-8998-resets' into clk-next (diff)
parentclk: qcom: qcs404: Fix gpll0_out_main parent (diff)
downloadlinux-dev-9dc320424708378b7a2137a148fc4fc816105ba2.tar.xz
linux-dev-9dc320424708378b7a2137a148fc4fc816105ba2.zip
Merge branch 'clk-fixes' into clk-next
* clk-fixes: clk: qcom: qcs404: Fix gpll0_out_main parent clk: zynqmp: Off by one in zynqmp_is_valid_clock() clk: mmp: Off by one in mmp_clk_add() clk: mvebu: Off by one bugs in cp110_of_clk_get() arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks clk: zynqmp: handle fixed factor param query error clk: qcom: gcc: Fix board clock node name clk: meson: axg: mark fdiv2 and fdiv3 as critical clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL clk: fixed-factor: fix of_node_get-put imbalance
Diffstat (limited to 'drivers/clk/clk-fixed-factor.c')
-rw-r--r--drivers/clk/clk-fixed-factor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.c
index 739e19dcacfa..241b3f8c61a9 100644
--- a/drivers/clk/clk-fixed-factor.c
+++ b/drivers/clk/clk-fixed-factor.c
@@ -205,6 +205,7 @@ static int of_fixed_factor_clk_remove(struct platform_device *pdev)
{
struct clk *clk = platform_get_drvdata(pdev);
+ of_clk_del_provider(pdev->dev.of_node);
clk_unregister_fixed_factor(clk);
return 0;