From b62d5d0a068a45389017558eb9c0353e7bbe2ca3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
Date: Mon, 7 Oct 2019 06:22:56 +0200
Subject: [PATCH 157/484] input: cyttsp4: Fix warnings

Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
 drivers/input/touchscreen/cyttsp4_core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/input/touchscreen/cyttsp4_core.c
index 1ddb0b466a46..d9243c9db69a 100644
--- a/drivers/input/touchscreen/cyttsp4_core.c
+++ b/drivers/input/touchscreen/cyttsp4_core.c
@@ -1461,6 +1461,7 @@ cyttsp4_timer_watchdog_exit_error:
 	return;
 }
 
+#if 0
 static int cyttsp4_set_power(struct cyttsp4* cd, int on)
 {
 	dev_dbg(cd->dev, "Power %s\n", on ? "up" : "down");
@@ -1476,6 +1477,7 @@ static int cyttsp4_set_power(struct cyttsp4* cd, int on)
 
 	return -ENOSYS;
 }
+#endif
 
 static int cyttsp4_core_sleep_(struct cyttsp4 *cd)
 {
@@ -1743,12 +1745,12 @@ static int cyttsp4_core_sleep(struct cyttsp4 *cd)
 
 static int cyttsp4_core_wake_(struct cyttsp4 *cd)
 {
+#if 0
 	struct device *dev = cd->dev;
 	int rc;
 	u8 mode;
 	int t;
 
-#if 0
 	/* Already woken? */
 	mutex_lock(&cd->system_lock);
 	if (cd->sleep_state == SS_SLEEP_OFF) {
-- 
2.49.0

