Эх сурвалжийг харах

[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 жил өмнө
parent
commit
f4dda0914e

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