[MTD] [NAND] Remove wrong operation in PM function of the BF54x NFC driver

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Feb 3 02:59:02 EST 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f4dda0914e76feb1ff5ec349cc68f319f6a4e40f
Commit:     f4dda0914e76feb1ff5ec349cc68f319f6a4e40f
Parent:     a50367784ea6ef8d4276daac0dfcfaa896f8530b
Author:     Bryan Wu <bryan.wu at analog.com>
AuthorDate: Wed Jan 30 17:18:17 2008 +0800
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sun Feb 3 18:54:46 2008 +1100

    [MTD] [NAND] Remove wrong operation in PM function of the BF54x NFC driver
    
    There is no suspend/resume operation in NFC driver at all, currently.
    
    Signed-off-by: Bryan Wu <bryan.wu at analog.com>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/nand/bf5xx_nand.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 542850c..2fe9678 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -760,9 +760,6 @@ static int bf5xx_nand_resume(struct platform_device *dev)
 {
 	struct bf5xx_nand_info *info = platform_get_drvdata(dev);
 
-	if (info)
-		bf5xx_nand_hw_init(info);
-
 	return 0;
 }
 



More information about the linux-mtd-cvs mailing list