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-Tag: v3.3-rc1~182^2~300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b1436c1f94e591e240845edee835658ce98985e;p=profile%2Fcommon%2Fkernel-common.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 f224e58..65ee506 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;