From: "Lothar Waßmann" <LW@KARO-electronics.de>
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, "Shawn Guo" <shawn.guo@linaro.org>,
"Lothar Waßmann" <LW@KARO-electronics.de>
Subject: [PATCH v2 2/8][NET] fec.c: set con_id in clk_get() call to NULL
Date: Wed, 7 Dec 2011 14:37:14 +0100 [thread overview]
Message-ID: <6c28f25c5c6d2f88d0985ce361c5e16f19db27d0.1323256319.git.LW@KARO-electronics.de> (raw)
In-Reply-To: <bd4415514fa0b40ece04d56b3ac4f549e79d87d7.1323256319.git.LW@KARO-electronics.de>
In-Reply-To: <cover.1323256319.git.LW@KARO-electronics.de>
The con_id is actually not needed for clk_get().
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
---
drivers/net/ethernet/freescale/fec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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;
--
1.5.6.5
next prev parent reply other threads:[~2011-12-07 13:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-07 13:37 [PATCH v2 0/8][NET] fec.c: several cleanups and bugfixes Lothar Waßmann
2011-12-07 13:37 ` [PATCH v2 1/8][NET] fec.c: misc cleanups Lothar Waßmann
2011-12-07 13:37 ` Lothar Waßmann [this message]
2011-12-07 13:37 ` [PATCH v2 3/8][NET] fec.c: prevent dobule restart of interface on FDX/HDX change Lothar Waßmann
2011-12-07 13:37 ` [PATCH v2 4/8][NET] fec.c: don't request invalid IRQ Lothar Waßmann
2011-12-07 13:37 ` [PATCH v2 5/8][NET] fec.c: don't munge MAC address from platform data Lothar Waßmann
2011-12-07 13:37 ` [PATCH v2 6/8][NET] fec.c: preserve MII/RMII setting in fec_stop() Lothar Waßmann
2011-12-07 13:37 ` [PATCH v2 7/8][NET] fec.c: fix the .remove code Lothar Waßmann
2011-12-07 13:37 ` [PATCH v2 8/8][NET] fec.c: make FEC driver buildable as module Lothar Waßmann
2011-12-07 18:38 ` [PATCH v2 0/8][NET] fec.c: several cleanups and bugfixes David Miller
2011-12-08 7:01 ` Lothar Waßmann
2011-12-08 7:05 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6c28f25c5c6d2f88d0985ce361c5e16f19db27d0.1323256319.git.LW@KARO-electronics.de \
--to=lw@karo-electronics.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shawn.guo@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).