提交 5b1436c1 编写于 作者: L Lothar Waßmann 提交者: David S. Miller

net/fec: set con_id in clk_get() call to NULL

The con_id is actually not needed for clk_get().
Signed-off-by: NLothar Waßmann <LW@KARO-electronics.de>
Acked-by: NShawn Guo <shawn.guo@linaro.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a7dd3219
......@@ -1585,7 +1585,7 @@ fec_probe(struct platform_device *pdev)
}
}
fep->clk = clk_get(&pdev->dev, "fec_clk");
fep->clk = clk_get(&pdev->dev, NULL);
if (IS_ERR(fep->clk)) {
ret = PTR_ERR(fep->clk);
goto failed_clk;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册