mtd: bf5xx_nand: drop no-op PM support
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Aug 8 09:59:02 PDT 2014
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=1360246a4f28e53d1fea30dfdff04245e54110c8
Commit: 1360246a4f28e53d1fea30dfdff04245e54110c8
Parent: 086f2f76f498837283433b2b3b76125dc15328fc
Author: Brian Norris <computersforpeace at gmail.com>
AuthorDate: Tue May 20 12:12:55 2014 -0700
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Jul 2 17:42:57 2014 -0700
mtd: bf5xx_nand: drop no-op PM support
This driver's suspend/resume hooks are no-ops, so just remove them.
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
Cc: Julia Lawall <Julia.Lawall at lip6.fr>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: Dan Carpenter <dan.carpenter at oracle.com>
Cc: Mike Frysinger <vapier.adi at gmail.com>
---
drivers/mtd/nand/bf5xx_nand.c | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 722898a..871c4f7 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -830,34 +830,10 @@ out_err:
return err;
}
-/* PM Support */
-#ifdef CONFIG_PM
-
-static int bf5xx_nand_suspend(struct platform_device *dev, pm_message_t pm)
-{
- struct bf5xx_nand_info *info = platform_get_drvdata(dev);
-
- return 0;
-}
-
-static int bf5xx_nand_resume(struct platform_device *dev)
-{
- struct bf5xx_nand_info *info = platform_get_drvdata(dev);
-
- return 0;
-}
-
-#else
-#define bf5xx_nand_suspend NULL
-#define bf5xx_nand_resume NULL
-#endif
-
/* driver device registration */
static struct platform_driver bf5xx_nand_driver = {
.probe = bf5xx_nand_probe,
.remove = bf5xx_nand_remove,
- .suspend = bf5xx_nand_suspend,
- .resume = bf5xx_nand_resume,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
More information about the linux-mtd-cvs
mailing list