Commit 5b1436c1 authored by Lothar Waßmann's avatar Lothar Waßmann Committed by 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: default avatarLothar Waßmann <LW@KARO-electronics.de>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment