[RESEND 02/18] clk: imx6sx: Do not reparent to unregistered IMX6SX_CLK_AXI

From: Abel Vesa
Date: Wed May 29 2019 - 08:30:15 EST


The clock IMX6SX_CLK_AXI is not registered at all.

Signed-off-by: Abel Vesa <abel.vesa@xxxxxxx>
---
drivers/clk/imx/clk-imx6sx.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/clk/imx/clk-imx6sx.c b/drivers/clk/imx/clk-imx6sx.c
index d8c96d5..a7aa0f2 100644
--- a/drivers/clk/imx/clk-imx6sx.c
+++ b/drivers/clk/imx/clk-imx6sx.c
@@ -509,8 +509,6 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node)
/* Set the parent clks of PCIe lvds1 and pcie_axi to be pcie ref, axi */
if (clk_set_parent(clks[IMX6SX_CLK_LVDS1_SEL], clks[IMX6SX_CLK_PCIE_REF_125M]))
pr_err("Failed to set pcie bus parent clk.\n");
- if (clk_set_parent(clks[IMX6SX_CLK_PCIE_AXI_SEL], clks[IMX6SX_CLK_AXI]))
- pr_err("Failed to set pcie parent clk.\n");

/*
* Init enet system AHB clock, set to 200MHz
--
2.7.4