1
0
Files
linux/drivers
Geert Uytterhoeven ca0abe3d89 Input: cyttsp4 - kill 'defined but not used' compiler warnings
If both CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME are unset:

drivers/input/touchscreen/cyttsp4_core.c:1556: warning: ‘cyttsp4_core_sleep’ defined but not used
drivers/input/touchscreen/cyttsp4_core.c:1634: warning: ‘cyttsp4_core_wake’ defined but not used

Move cyttsp4_core_sleep(), cyttsp4_core_wake(), and cyttsp4_core_wake_()
(which is called from cyttsp4_core_wake() only) inside the existing section
protected by #if defined(CONFIG_PM_SLEEP) || defined(CONFIG_PM_RUNTIME)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2013-08-29 08:45:15 -07:00
..
2013-05-17 14:31:05 -04:00
2013-05-30 18:27:24 -07:00
2013-05-06 13:07:33 +02:00
2013-05-20 13:38:14 -07:00
2013-06-04 17:25:18 -07:00
2013-05-15 10:58:22 -07:00
2013-06-05 08:54:16 -06:00