* [PATCH] mtd: mxc_nand: Adapt the clock name to the new clock framework
@ 2012-09-05 14:52 Fabio Estevam
2012-09-22 14:59 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2012-09-05 14:52 UTC (permalink / raw)
To: artem.bityutskiy; +Cc: Fabio Estevam, linux-mtd, kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: mxc_nand: Adapt the clock name to the new clock framework
2012-09-05 14:52 [PATCH] mtd: mxc_nand: Adapt the clock name to the new clock framework Fabio Estevam
@ 2012-09-22 14:59 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2012-09-22 14:59 UTC (permalink / raw)
To: Fabio Estevam; +Cc: Fabio Estevam, artem.bityutskiy, linux-mtd, kernel
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
On Wed, 2012-09-05 at 11:52 -0300, Fabio Estevam wrote:
> 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>
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-22 14:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 14:52 [PATCH] mtd: mxc_nand: Adapt the clock name to the new clock framework Fabio Estevam
2012-09-22 14:59 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox