Commit 1360246a authored by Brian Norris's avatar Brian Norris

mtd: bf5xx_nand: drop no-op PM support

This driver's suspend/resume hooks are no-ops, so just remove them.
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Mike Frysinger <vapier.adi@gmail.com>
parent 086f2f76
...@@ -830,34 +830,10 @@ static int bf5xx_nand_probe(struct platform_device *pdev) ...@@ -830,34 +830,10 @@ static int bf5xx_nand_probe(struct platform_device *pdev)
return 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 */ /* driver device registration */
static struct platform_driver bf5xx_nand_driver = { static struct platform_driver bf5xx_nand_driver = {
.probe = bf5xx_nand_probe, .probe = bf5xx_nand_probe,
.remove = bf5xx_nand_remove, .remove = bf5xx_nand_remove,
.suspend = bf5xx_nand_suspend,
.resume = bf5xx_nand_resume,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment