net/fec: set con_id in clk_get() call to NULL
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 7 Dec 2011 21:59:26 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:51:19 +0000 (19:51 -0500)
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>
drivers/net/ethernet/freescale/fec.c

index f224e58af112fa5c1bbb1c8ff990755d46d4c029..65ee506f9eb79ec117c65f648d25c24814892003 100644 (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;