[v3,8/8] clk: qcom: msm8916: Remove hard-coded sleep_clk_src

Message ID 1445360280-2347-9-git-send-email-georgi.djakov@linaro.org
State New
Headers show

Commit Message

Georgi Djakov Oct. 20, 2015, 4:58 p.m.
The sleep_clk_src has been moved to DT, so we do not need to
register it in the GCC driver anymore.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
---
 drivers/clk/qcom/gcc-msm8916.c |    3 ---
 1 file changed, 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Patch

diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index 3e1062fed230..6b687790fe24 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -3364,9 +3364,6 @@  static int gcc_msm8916_probe(struct platform_device *pdev)
 		clk = clk_register_fixed_factor(dev, "xo", "xo_board", 0, 1, 1);
 		if (IS_ERR(clk))
 			return PTR_ERR(clk);
-
-		clk_register_fixed_rate(dev, "sleep_clk_src", NULL,
-					CLK_IS_ROOT, 32768);
 	}
 
 	return qcom_cc_probe(pdev, &gcc_msm8916_desc);