浏览代码

[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>
Bryan Wu 17 年之前
父节点
当前提交
f4dda0914e
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/mtd/nand/bf5xx_nand.c

+ 0 - 3
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;
 }