summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2008-01-30 17:18:17 +0800
committerDavid Woodhouse <dwmw2@infradead.org>2008-02-03 18:54:46 +1100
commitf4dda0914e76feb1ff5ec349cc68f319f6a4e40f (patch)
treedec5f39c9e714c2b0ef815b71c1463e4bf58b263 /drivers/mtd
parenta50367784ea6ef8d4276daac0dfcfaa896f8530b (diff)
downloadlinux-f4dda0914e76feb1ff5ec349cc68f319f6a4e40f.tar.gz
linux-f4dda0914e76feb1ff5ec349cc68f319f6a4e40f.tar.bz2
linux-f4dda0914e76feb1ff5ec349cc68f319f6a4e40f.zip
[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@analog.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/bf5xx_nand.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 542850cd4c37..2fe9678e7545 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;
}