aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/fec.c
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2011-12-07 16:59:26 -0500
committerDavid S. Miller <davem@davemloft.net>2011-12-08 19:51:19 -0500
commit5b1436c1f94e591e240845edee835658ce98985e (patch)
tree49cbb3cc3f5a5f3053570e504b03cea0dd08acc6 /drivers/net/ethernet/freescale/fec.c
parenta7dd3219b915577e12612ac5d269e1bd22c6fb65 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.c')
-rw-r--r--drivers/net/ethernet/freescale/fec.c2
1 files changed, 1 insertions, 1 deletions
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)
1585 } 1585 }
1586 } 1586 }
1587 1587
1588 fep->clk = clk_get(&pdev->dev, "fec_clk"); 1588 fep->clk = clk_get(&pdev->dev, NULL);
1589 if (IS_ERR(fep->clk)) { 1589 if (IS_ERR(fep->clk)) {
1590 ret = PTR_ERR(fep->clk); 1590 ret = PTR_ERR(fep->clk);
1591 goto failed_clk; 1591 goto failed_clk;