From 645e752c5a84baeb21015cdc85fc05b7d16312c8 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 11 May 2024 01:13:52 +0000
Subject: [PATCH] disable i2c1
---
kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/focaltech_test_ini.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/focaltech_test_ini.c b/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/focaltech_test_ini.c
index a6ea11f..41833bf 100644
--- a/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/focaltech_test_ini.c
+++ b/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/focaltech_test_ini.c
@@ -128,22 +128,6 @@
return 0;
}
-static int isspace(int x)
-{
- if (x == ' ' || x == '\t' || x == '\n' || x == '\f' || x == '\b' || x == '\r')
- return 1;
- else
- return 0;
-}
-
-static int isdigit(int x)
-{
- if (x <= '9' && x >= '0')
- return 1;
- else
- return 0;
-}
-
static long fts_atol(char *nptr)
{
int c; /* current char */
--
Gitblit v1.6.2