From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UCSP8-0002ZQ-2S for barebox@lists.infradead.org; Mon, 04 Mar 2013 10:14:02 +0000 From: Sascha Hauer Date: Mon, 4 Mar 2013 11:13:52 +0100 Message-Id: <1362392034-1908-9-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1362392034-1908-1-git-send-email-s.hauer@pengutronix.de> References: <1362392034-1908-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 08/10] mtd nand i.MX: remove unused code To: barebox@lists.infradead.org Signed-off-by: Sascha Hauer --- drivers/mtd/nand/nand_imx.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c index d056c7c..22bdb74 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; -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox