From: Fabio Estevam <festevam@gmail.com>
To: artem.bityutskiy@linux.intel.com
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
linux-mtd@lists.infradead.org, kernel@pengutronix.de
Subject: [PATCH] mtd: mxc_nand: Adapt the clock name to the new clock framework
Date: Wed, 5 Sep 2012 11:52:27 -0300 [thread overview]
Message-ID: <1346856747-32694-1-git-send-email-festevam@gmail.com> (raw)
From: Fabio Estevam <fabio.estevam@freescale.com>
With the new i.mx clock framework the mxc_nand clock is registered as:
clk_register_clkdev(clk[nfc_gate], NULL, "mxc_nand");0")
So we do not need to pass "nfc" string and can use NULL instead.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/mtd/nand/mxc_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index cc8b1e1..b0c81bf 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -1425,7 +1425,7 @@ static int __devinit mxcnd_probe(struct platform_device *pdev)
this->write_buf = mxc_nand_write_buf;
this->read_buf = mxc_nand_read_buf;
- host->clk = devm_clk_get(&pdev->dev, "nfc");
+ host->clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(host->clk))
return PTR_ERR(host->clk);
--
1.7.9.5
next reply other threads:[~2012-09-05 14:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 14:52 Fabio Estevam [this message]
2012-09-22 14:59 ` [PATCH] mtd: mxc_nand: Adapt the clock name to the new clock framework Artem Bityutskiy
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=1346856747-32694-1-git-send-email-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=artem.bityutskiy@linux.intel.com \
--cc=fabio.estevam@freescale.com \
--cc=kernel@pengutronix.de \
--cc=linux-mtd@lists.infradead.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