Files
linux-apfs/drivers/input/touchscreen
Fabio Estevam f1e31b02b9 Input: mcs5000_ts - protect PM functions with CONFIG_PM_SLEEP
When a kernel has CONFIG_PM=y and CONFIG_PM_SLEEP=n the following warnings are
seen:
drivers/input/touchscreen/mcs5000_ts.c:252:12: warning: 'mcs5000_ts_suspend' defined but not used [-Wunused-function]
 static int mcs5000_ts_suspend(struct device *dev)
            ^
drivers/input/touchscreen/mcs5000_ts.c:262:12: warning: 'mcs5000_ts_resume' defined but not used [-Wunused-function]
 static int mcs5000_ts_resume(struct device *dev)

Protect the suspend/resume functions with CONFIG_PM_SLEEP in order to fix these
build warnings.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-07-30 22:52:55 -07:00
..
2012-11-24 00:05:38 -08:00
2013-12-06 02:06:29 -08:00
2013-12-16 02:04:49 -08:00
2013-12-06 02:06:29 -08:00
2013-12-06 02:06:29 -08:00
2014-05-29 00:06:00 -07:00
2013-12-06 02:06:29 -08:00
2013-03-12 08:50:20 -07:00