From: Lothar Waßmann Date: Wed, 7 Dec 2011 21:59:26 +0000 (+0000) Subject: net/fec: set con_id in clk_get() call to NULL X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5b1436c1f94e591e240845edee835658ce98985e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Acked-by: Shawn Guo Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/fec.c b/drivers/net/ethernet/freescale/fec.c index f224e58af112..65ee506f9eb7 100644 --- a/drivers/net/ethernet/freescale/fec.c +++ b/drivers/net/ethernet/freescale/fec.c @@ -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;