Jingoo Han 80ce4dde2f mtd: fsmc_nand: add CONFIG_PM_SLEEP to suspend/resume functions
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
build warning when CONFIG_PM_SLEEP is not selected. This is because
sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when
the CONFIG_PM_SLEEP is enabled. Also, unnecessary CONFIG_PM ifdefs
are removed.

drivers/mtd/nand/fsmc_nand.c:1194:12: warning: 'fsmc_nand_suspend' defined but not used [-Wunused-function]
drivers/mtd/nand/fsmc_nand.c:1202:12: warning: 'fsmc_nand_resume' defined but not used [-Wunused-function]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2013-08-05 19:00:17 +01:00
..
2012-11-22 12:07:03 +02:00
2012-11-22 12:07:03 +02:00
2012-09-29 15:00:46 +01:00
2012-11-22 12:07:03 +02:00
2012-11-15 15:37:46 +02:00
2012-11-22 12:07:03 +02:00
2013-04-05 13:20:09 +01:00
2013-06-19 17:53:46 +02:00
2013-04-05 13:15:17 +01:00
2012-11-22 12:07:03 +02:00
2013-04-05 12:00:50 +01:00
2013-04-05 13:22:06 +01:00
2012-11-22 12:07:03 +02:00
2013-04-05 13:22:30 +01:00
2012-11-22 12:07:03 +02:00
2012-11-22 12:07:03 +02:00
2012-11-22 12:07:03 +02:00
2013-04-05 13:22:06 +01:00
2012-11-22 12:07:03 +02:00
2012-09-29 15:00:46 +01:00