diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-05-20 15:12:55 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-07-02 20:42:57 -0400 |
commit | 1360246a4f28e53d1fea30dfdff04245e54110c8 (patch) | |
tree | 93dc7f776ca73853fca454fe066e49f602758928 | |
parent | 086f2f76f498837283433b2b3b76125dc15328fc (diff) |
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@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>
-rw-r--r-- | drivers/mtd/nand/bf5xx_nand.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index 722898aea7a6..871c4f712654 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c | |||
@@ -830,34 +830,10 @@ out_err: | |||
830 | return err; | 830 | return err; |
831 | } | 831 | } |
832 | 832 | ||
833 | /* PM Support */ | ||
834 | #ifdef CONFIG_PM | ||
835 | |||
836 | static int bf5xx_nand_suspend(struct platform_device *dev, pm_message_t pm) | ||
837 | { | ||
838 | struct bf5xx_nand_info *info = platform_get_drvdata(dev); | ||
839 | |||
840 | return 0; | ||
841 | } | ||
842 | |||
843 | static int bf5xx_nand_resume(struct platform_device *dev) | ||
844 | { | ||
845 | struct bf5xx_nand_info *info = platform_get_drvdata(dev); | ||
846 | |||
847 | return 0; | ||
848 | } | ||
849 | |||
850 | #else | ||
851 | #define bf5xx_nand_suspend NULL | ||
852 | #define bf5xx_nand_resume NULL | ||
853 | #endif | ||
854 | |||
855 | /* driver device registration */ | 833 | /* driver device registration */ |
856 | static struct platform_driver bf5xx_nand_driver = { | 834 | static struct platform_driver bf5xx_nand_driver = { |
857 | .probe = bf5xx_nand_probe, | 835 | .probe = bf5xx_nand_probe, |
858 | .remove = bf5xx_nand_remove, | 836 | .remove = bf5xx_nand_remove, |
859 | .suspend = bf5xx_nand_suspend, | ||
860 | .resume = bf5xx_nand_resume, | ||
861 | .driver = { | 837 | .driver = { |
862 | .name = DRV_NAME, | 838 | .name = DRV_NAME, |
863 | .owner = THIS_MODULE, | 839 | .owner = THIS_MODULE, |