summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_imx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-27 13:04:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-04 11:06:23 +0100
commit57a5fbd1a34870607dbd90b99e981c0ca23f1640 (patch)
tree97302a2ebf8151c8545eac535d44ba7ae5c3d00a /drivers/mtd/nand/nand_imx.c
parent3cbe9b9ae936f4d43be5a792ea07ec27ca674ba0 (diff)
downloadbarebox-57a5fbd1a34870607dbd90b99e981c0ca23f1640.tar.gz
barebox-57a5fbd1a34870607dbd90b99e981c0ca23f1640.tar.xz
mtd nand i.MX: remove unused code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/nand_imx.c')
-rw-r--r--drivers/mtd/nand/nand_imx.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c
index d056c7c0d3..22bdb74eea 100644
--- a/drivers/mtd/nand/nand_imx.c
+++ b/drivers/mtd/nand/nand_imx.c
@@ -1192,13 +1192,6 @@ static int __init imxnd_probe(struct device_d *dev)
this->write_buf = imx_nand_write_buf;
this->read_buf = imx_nand_read_buf;
this->verify_buf = imx_nand_verify_buf;
-#if 0
- host->clk = clk_get(&pdev->dev, "nfc_clk");
- if (IS_ERR(host->clk))
- goto eclk;
-
- clk_enable(host->clk);
-#endif
if (pdata->hw_ecc) {
this->ecc.calculate = imx_nand_calculate_ecc;