summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/tsc2007.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-29 08:40:42 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-08-29 08:45:15 -0700
commitca0abe3d89fd95b80654e3429d84e4aad567a395 (patch)
tree336210a2329c81a9a02a11edfc474785e7ab34ec /drivers/input/touchscreen/tsc2007.c
parent1ea4c16120f529d811de0a35db6b252352268e95 (diff)
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>
Diffstat (limited to 'drivers/input/touchscreen/tsc2007.c')
0 files changed, 0 insertions, 0 deletions