Skip to contentSkip to conversation

mtd: bf5xx_nand: drop no-op PM support

PATCH Applied Brian Norris 1 participant 2 messages May 20, 2014 – Jul 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: bf5xx_nand: drop no-op PM support

This driver's suspend/resume hooks are no-ops, so just remove them.

Cc Julia Lawall <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Dan Carpenter <[email protected]>
Cc Mike Frysinger <[email protected]>
---
 drivers/mtd/nand/bf5xx_nand.c | 24 ------------------------
 1 file changed, 24 deletions(-)
drivers/mtd/nand/bf5xx_nand.c +0 -24
index b7a24946ca26..47121d28015d 100644
@@ -835,34 +835,10 @@ out_err_kzalloc:
 	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,
Signature · 1 line
1.8.3.2