Skip to content

Commit

Permalink
net/fec: set con_id in clk_get() call to NULL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lothar Waßmann authored and David S. Miller committed Dec 9, 2011
1 parent a7dd321 commit 5b1436c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5b1436c

Please sign in to comment.