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

The con_id is actually not needed for clk_get().

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Lothar Waßmann 2011-12-07 21:59:26 +00:00 committed by David S. Miller
parent a7dd3219b9
commit 5b1436c1f9

View File

@ -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;